Jump to content
Sign in to follow this  
dkraver

Really fast one

Recommended Posts

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 - 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

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 biggrin.gif

Share this post


Link to post
Share on other sites

</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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×