_Hekler_ 0 Posted April 23, 2002 Ok I have named  group with IV1 = group this That is the trigger that reconises they are dead and it is supposed to activate this trigger but when I start I get this message up the top 'not alive (IV1)/#/': Error Type Group, Expected Object It works when I replace the IV1 (Which is the name of the group) with the name of a unit Share this post Link to post Share on other sites
LauryThorn 0 Posted April 23, 2002 Put instead: ( "_x alive" count units IV1 ) == 0 That sentence is true when all units of IV1 are dead. Share this post Link to post Share on other sites
Psychopomp7781 0 Posted April 23, 2002 Sure beats the way I've been doing it... Naming each piece of the squad... Support1 Support2 Support3 Support4 !(alive Support1) and !(alive Support2) and !(Support3) and !(Support4) Thanks for the tip... Pomp Share this post Link to post Share on other sites
_Hekler_ 0 Posted April 24, 2002 The is not space between _x alive or it don't work but Then the game ends straight away untill i can get the group one working i'm using the individual unit way. 24 BLOODY UNITS! Share this post Link to post Share on other sites
Bart.Jan 0 Posted April 24, 2002 Condition for your trigger : ( "alive _x" count units IV1 ) == 0 Share this post Link to post Share on other sites
LauryThorn 0 Posted April 24, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"> Condition for your trigger : ( "alive _x" count units IV1 ) == 0<span id='postcolor'> Ooops.. sorry. That is the right way, indeed.. Share this post Link to post Share on other sites
_Hekler_ 0 Posted April 24, 2002 The game just ends instantly Share this post Link to post Share on other sites
LordZach 0 Posted April 24, 2002 condition: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">not (alive IV1)<span id='postcolor'> Share this post Link to post Share on other sites