Game Modding | Call of Duty: Black Ops 3 | Scripting
ModmeBot:
Thread By: FiveSeven
So I have the flogger working in my map but I want to add sounds while it is rotating and also when it hits a zombie. Also I would like to add the effect of the zombie itself getting thrown after making contact. Anyone who could point me in the right direction or link me to a tut I would really appreciate it. Thanks in advance ! Oh and Happy New Year to everyone.
FiveSeven
ModmeBot:
Reply By: natesmithzombies
What flogger script are you using? It all depends on that
ModmeBot:
Reply By: FiveSeven
im using encores flogger script.
ModmeBot:
Reply By: natesmithzombies
FiveSevenim using encores flogger script.
It appears the code needs to be entirely re-written if you want to throw the zombies in the correct direction after being hit. It looks like this is using a kill brush to kill zombies, which is not a good idea to do as you cant control the death of the zombies through script.
As far as playing the sounds goes you can use the function PlaySoundAtPosition( "sound_alias", origin ); where the origin can be the traptriggerobj1.origin or another entity. I would recommend trying to code this in a different way if you have the time/will power
ModmeBot:
Reply By: FiveSeven
ok thanks for taking the time to at least look into it.....im going to see what I can come up with.