Jump to content
Sign in to follow this  
-=BT=- Matty R

Not Alive Help

Recommended Posts

ok i searched the forum but could not find it.. it used to be in here somewhere but ive looked for 1 hour or something and got stressed so ill just post sad_o.gif

ok i need to no how to get the Not Alive shilka1 and shilka2 command but i dont no the thingy..

i no the Not Alive unitname, but i want the command for more than one vehical rock.gif

anyhelp please smile_o.gif

Share this post


Link to post
Share on other sites

-=BT=- Matty R

OFPEC.COM is your friend. You'll find there many tutorials that will answer most of your questions. smile_o.gif

Share this post


Link to post
Share on other sites

There's probably a quicker and neater way, but I use:

not (alive unit1 or alive unit2)

Quick, easy and will only trigger when neither unit1 nor unit2 is alive.

Replace 'or' with 'and' to check when one of the units is dead.

Share this post


Link to post
Share on other sites
There's probably a quicker and neater way, but I use:

not (alive unit1 or alive unit2)

Quick, easy and will only trigger when neither unit1 nor unit2 is alive.

Replace 'or' with 'and' to check when one of the units is dead.

Just the opposite, no? rock.gif

OR is when even only one unit is dead.

AND is when both units are dead.

rock.gif

Share this post


Link to post
Share on other sites
There's probably a quicker and neater way, but I use:

not (alive unit1 or alive unit2)

Quick, easy and will only trigger when neither unit1 nor unit2 is alive.

Replace 'or' with 'and' to check when one of the units is dead.

Just the opposite, no? rock.gif

OR is when even only one unit is dead.

AND is when both units are dead.

rock.gif

His trigger will fire only when both units are down. But it is hard to understand. As i've said: very complex example.

Share this post


Link to post
Share on other sites

Sorry if it's unclear, but the logic is this:

If both unit1 and unit 2 are alive then-

alive unit1 or alive unit2 = true

If only one is alive then-

alive unit1 or alive unit2 = true

Only when both unit1 and unit2 are dead will

alive unit1 or alive unit2 = false.

Encasing this within a single not ( ) converts the false to true and only triggers this when the argument within the brackets returns a false.

However, if both unit1 and unit2 are alive then-

alive unit1 and alive unit2 = true

whereas, if only one is dead then-

alive unit1 and alive unit2 = false

Using the not ( ) then activates the trigger before the second unit is killed.

Actually, I take it back. This is confusing - though it wasn't before I tried to explain it.

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

×