I just wanted to add this to dzai so it would add a bit more versatility to the ai units spawned in and make it a little bit easyer on the players at the same time.
_aiunit addEventHandler ["fired", {if (_this select 1 == "MeleeHatchet") then { (_this select 0) playActionNow "GestureSwing";};}];
Thats what I put in and changed the weapon to hatchet to make it easyer.
Still no go:(
I gave it a go and put the:_aiunit addEventHandler ["fired", {if (_this select 1 == "meleeweapon classname") then { (_this select 0) playActionNow "GestureSwing";};}];
In the spawn_functions/spawnBandits.sqf
but the ai still didnt want to play the animations I tested it out with a ai that had a...
I tried your suggestion but the AI ran up with the axe and there was no swinging animation I got damaged alright and the ai even closed in the attack again when i got out of range which was good.I read on the epoch forums that this was needed in order for the ai to play the animation when...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.