Jump to content
Sign in to follow this  
mrbean1112

Any way to disableai an entire side?

Recommended Posts

Hey, i am trying to disable ai move, target, and autotarget for an entire side.

the side is Independant.

if this is not possible, is there any way to do it for all units in a group?

I made 4 large groups, and i REALLY don't feel like going through and naming them all, then going and disabling ai for each individual..

if there is no other way to do this. i suppose i must.. but any alternative would be Greeeatly appreciated.

Share this post


Link to post
Share on other sites
Guest

If its completely one side, no ther units of that side to be excluded, then just put a trigger in, make its radius cover all units on the map desired to be disabled. I did add in if its not player in list, im sure player isnt resistance in your case, nonetheless, just put it in there to be safe(dont think disableAi affects player anyhow)

activation: Anyone Present

Activate - Once

Condition - this

Activation:

{if((_x != player) and (side _x == resistance)) then {_x disableAi "MOVE", _x disableAi "TARGET",_x disableAi "AUTOTARGET"}} forEach ThisList

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
Sign in to follow this  

×