kittycat 0 Posted April 8, 2003 Hi I want to know how to activate something if lets say 2 tanks are killed and a special unit is on my team Share this post Link to post Share on other sites
RED 0 Posted April 8, 2003 The condition of the trigger would be: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">!(alive tank1) AND !(alive tank2) AND ((group specialunitname) == (group player))<span id='postcolor'> I think that will work, not tested though. RED Share this post Link to post Share on other sites
iNeo 0 Posted April 8, 2003 Separate the condition commands (like not alive(tank1)) using AND or && Share this post Link to post Share on other sites
kittycat 0 Posted April 8, 2003 Is that the correct writing? I am getting sick of playing 40+ mins just to get a condition work. Can I get a exact script that will work? I am getting crazy with this shit Share this post Link to post Share on other sites
Guest jacobaby Posted April 9, 2003 test the condition early in the mission editor, write a smaller test mission if needs be. Reds script will work just fine Share this post Link to post Share on other sites
Milkman 1 Posted April 9, 2003 this works too. 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 tank1) AND NOT (Alive Tank2)<span id='postcolor'> Where Tank1 and Tank2 are the tanks. Share this post Link to post Share on other sites