dkraver 1 Posted March 19, 2002 Making a loose trigger that will activate when all men in a mp group is dead but can remember what settings the trigger should use and what to write in the condition field. Men are called s1, s2 and so on. Share this post Link to post Share on other sites
Rastavovich 0 Posted March 19, 2002 not alive s1 and not alive s2 and..... Share this post Link to post Share on other sites
dkraver 1 Posted March 19, 2002 And what setting should the trigger have Share this post Link to post Share on other sites
Chris Death 0 Posted March 19, 2002 Rastavovich - basically your suggestion is correct. BUT - the problem starts, when you are disabling some not needed ai soldiers (at player selection screen). There are some ways to solve this problem. here is one of them: If you are using all playable units in one group, you could make this as condition: !(count units S1 >= 1) or: count units S1 == 0 "!" means "not" If you are using more than one group, just combine the conditions with an "and" statement: !(count units S1 >= 1) and !(count units S2 >= 1) or: count units S1 == 0 and count units S2 == 0 Share this post Link to post Share on other sites
Chris Death 0 Posted March 19, 2002 btw - what settings are you talking about dkraver?? This is what should be inside the condition field. You need no other settings for this trigger. You can do with this trigger whatever you want: e.g: start a cutscene, or end the mission, or start tons of scripts, or ..... it's up to you You don't need any trigger type settings, or timeout or countdown - just the condition, to let the trigger be activated. If you want to use some settings of the trigger, then the condition must be: this If you want to let a trigger be activated at the start of the mission, just use: true If you want to have special conditions, depending on variables or groups (like you want), then use: condition_in_condition_field hope this brings light into the dark Share this post Link to post Share on other sites
Rastavovich 0 Posted March 20, 2002 If an AI unit is disabled doesn't return the question "not alive s1" a true? Share this post Link to post Share on other sites
dkraver 1 Posted March 20, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (DV Chris Death @ Mar. 20 2002,00:05)</td></tr><tr><td id="QUOTE">btw - what settings are you talking about dkraver??<span id='postcolor'> So i dont need to have trigger detection on repeat or anything on what should detect it?? Share this post Link to post Share on other sites