Jump to content
Sign in to follow this  
j-man

Abouting a trigger

Recommended Posts

Ok, here's my problem. I have a trigger that activates when west is present. It makes a certain loon change posistion. What I want to find ot is if there is a way to cancel a trigger if a certain unit is dead?

Any ideas? rock.gif

Share this post


Link to post
Share on other sites

If you are asking on how to prevent the trigger from going off when west is present and a unit is dead it is as easy as that.

put in Condition:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">(this) AND (alive <unitname>)

instead of:

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

Note: make sure you do not put < > around unit's name when actually typing it in.

Share this post


Link to post
Share on other sites
Quote[/b] ]<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">(this) AND (alive <unitname>)

So simple!!

Why the hell didn't I think of that!? sad_o.gif

Thnx

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  

×