rwillis
Dec 26 2006, 18:03
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[/QUOTE] 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?
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[/QUOTE] 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?