Jump to content
Sign in to follow this  
natanbrody

How to Make a task failed if 4 groups of soldiers are dead?

Recommended Posts

I want to know how to make a trigger fail a task if 4 squads of soldiers are dead. please explain to me in the simplest way possible :D

Share this post


Link to post
Share on other sites

trigger condition of:

{alive _x} count (units grp1 + units grp2 + units grp3 + units grp4) == 0

Share this post


Link to post
Share on other sites

In each group leaders init put:

grp1 = group this;

and so on changing the 1 to whichever number the group is gonna be.

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  

×