Jump to content
Sign in to follow this  
eisa01

Activate trigger when vehicle gets destroyed

Recommended Posts

i need to activate a trigger when vehicle gets destroyed and another trigger is activated. Please help

Share this post


Link to post
Share on other sites

you mean, when a car is destroyed a trigger needs to be activated?

if so put this in condition field:

not(alive unitname)

Share this post


Link to post
Share on other sites

thanks! but i also need a trigger to activate when another trigger has been activated and vehicle gets destroyed

Share this post


Link to post
Share on other sites

I think you synchronise triggers in this case.

(synchronise from the top bar from one trigger to another)

Share this post


Link to post
Share on other sites

What you mean about activation next car ?

When some units has getin car and the next car has been destroyer the trigger will be activated ?

Share this post


Link to post
Share on other sites

Put an variable in the on activation of the first trigger

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">destroyed=true<span id='postcolor'>

Then put in the second trigger as "on condition"

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">destroyed<span id='postcolor'>

And put whatever you want to do in the "on activation" field of the second trigger.

Cheers

Share this post


Link to post
Share on other sites

Problem solved thanks to [CoC]walker biggrin.gif

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  

×