Jump to content
peacefull Nation

make all ai do karate code help

Recommended Posts

please bare in mind am trying to use this on friends host , u can use it on any of your friends host to se if it works .

ok update  this is wiered please help.

 

this code here

 


    {
    	if(!isPlayer _x && side _x != playerSide) then {


_x switchMove "AmovPercMstpSnonWnonDnon_exerciseKata";
sleep 30;

    	}
    }forEach allUnits;

this code above has affect to all soldiers for 2 seconds then they go back to normal.

why is is enemy stops animation after few seconds ?

 

 

update on above code.

ai in cars end up doing full karate while viehcle is moving.

but ai that are on foot dont do it , when i click the button it makes them all stand strait for a second then they go back to normal state

 

 

    {
        if(!isPlayer _x && side _x != playerSide) then {
    _x playMove "AmovPercMstpSnonWnonDnon_exerciseKata"; 
        }
    }forEach allUnits;

this code has no affect on enemy ai at all.

Share this post


Link to post
Share on other sites

Why multiple threads? It would be better for yourself and others to keep it in one thread.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×