Jump to content
Sign in to follow this  
iceman11a

When a unit dies

Recommended Posts

I have 2 groups of units. 1 called red and the 2nd one red2.

Each group has 4 units. I know that this tells me when all units from group red dies

.

({ alive _x } count (units red)) == 0

How do I find out when only one dies.

I have this is my init.sqf file. DeadEnemyTroops = 0;

So when a red or red2 unit dies from that group. How can I tell when one of them dies.

---------- Post added at 08:36 AM ---------- Previous post was at 08:33 AM ----------

Oh, before I forget, This wiki at this URL http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA says it's for ArmA and well to under stand what I mean is go the that page and search for count. when you click on it it says it's for Operation Flash Point, So some one doesn't have this setup right. The categories are all screwed up.

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  

×