-=BT=- Matty R 0 Posted December 16, 2004 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 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 anyhelp please Share this post Link to post Share on other sites
void_false 1 Posted December 16, 2004 !alive shilka1 && !alive shilka2 Share this post Link to post Share on other sites
-=BT=- Matty R 0 Posted December 16, 2004 whats the ! for? Share this post Link to post Share on other sites
theavonlady 2 Posted December 16, 2004 whats the ! for? NOT Share this post Link to post Share on other sites
void_false 1 Posted December 16, 2004 -=BT=- Matty R OFPEC.COM is your friend. You'll find there many tutorials that will answer most of your questions. Share this post Link to post Share on other sites
Trixta 0 Posted December 16, 2004 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
void_false 1 Posted December 16, 2004 Your example is much more complex... Share this post Link to post Share on other sites
theavonlady 2 Posted December 16, 2004 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? OR is when even only one unit is dead. AND is when both units are dead. Share this post Link to post Share on other sites
void_false 1 Posted December 16, 2004 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? OR is when even only one unit is dead. AND is when both units are dead. 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
Trixta 0 Posted December 17, 2004 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. Share this post Link to post Share on other sites
theavonlady 2 Posted December 17, 2004 LOL! Thanks for the explanation. Share this post Link to post Share on other sites
-=BT=- Matty R 0 Posted December 17, 2004 !alive shilka1 && !alive shilka2 well this worked fine  thx for the replys everyone Share this post Link to post Share on other sites