Jump to content
Sign in to follow this  
rwillis

check if entire group is dead

Recommended Posts

How do I check if an entire enemy group is dead through script?

I tried <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{!alive _x} count enemysquad == 0 where enemysquad is the name of the group, but it seems to want an array to check there. Is there a way for me to check if the group is dead without having to name every soldier in the group?

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  

×