Jump to content
major-stiffy

Way to kill groups of AI while testing in editor?

Recommended Posts

I put down a group of OPFor and give the leader a variable name of sector1.

Right or wrong I put in the init of the group leader  sector1=group this

I complete a task of killing all in the group by using  ({alive _x} count units sector1) < 1

If I kill all in group the task completes but in order to speed up testing in the editor the question is...

 

Is there a command/script/syntax I can use in debug to kill them all at once?

 

Thanks

 

Share this post


Link to post
Share on other sites
{_x setDamage 1;} forEach units sector1;

 

  • Like 1

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

×