Jump to content
Sign in to follow this  
zuff

Alive check to not count wounded units?

Recommended Posts

I have this trigger setup:

({alive _x} count units opgroup) < 1

And the group, opgroup has the First Aid Modules attached to them. So if all the group is downed but not dead, the alive count still considers them to be alive even though no one could possibly be revived.

Using the "Not Present" on the trigger page works in this case, but I was wondering if there's a script method I could use instead of the alive check that would work.

Thanks in advance!

Share this post


Link to post
Share on other sites

Use this instead:

{lifeState _x == "UNCONSCIOUS"} count units opgroup == count units opgroup

Share this post


Link to post
Share on other sites
Use this instead:

{lifeState _x == "UNCONSCIOUS"} count units opgroup == count units opgroup

Nice! That worked perfectly. Thank you very much!

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  

×