Jump to content
Sign in to follow this  
frankie2spankie

One annoying question

Recommended Posts

Ok guyz, im really disappointed wit myself

how do i create a condition for a trigger which is only activated when all units in a specific group are dead. sad_o.gif

its somethin like squad1 (not alive_x) isnt it???

plz reply asap

cheerz

Share this post


Link to post
Share on other sites

Name the group: put into leader's init line

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">squad=group this

and then condition is:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"alive _x" count (units sqad) == 0

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  

×