Home   Help Search Login Register  

Author Topic: what is opposite of soldier in vehicle?  (Read 516 times)

0 Members and 1 Guest are viewing this topic.

Offline ryankaplan

  • Members
  • *
  • yeah...
what is opposite of soldier in vehicle?
« on: 01 Aug 2004, 16:20:27 »
well basicly all i want to do is learn if a soldier is out of a vehicle. he starts in it so i need to learn when he is out.

i tried bravo in november1 == false but that didn't work. it also didn't work with only 1 equals sign (=).

someone please help....

thanks

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:what is opposite of soldier in vehicle?
« Reply #1 on: 01 Aug 2004, 16:41:11 »
Try:

bravo !(in november1)
or

? bravo !(in november1) : dosomething

Or something similar.

! means NOT
? means IF


Planck
« Last Edit: 01 Aug 2004, 16:42:26 by Planck »
I know a little about a lot, and a lot about a little.

Offline Mud_Spike

  • Contributing Member
  • **
Re:what is opposite of soldier in vehicle?
« Reply #2 on: 01 Aug 2004, 19:49:22 »
vehicle myUnit != some_vehicle

or, if you just want to ensure the unit is not in any vehicle:

vehicle myUnit == myUnit

GrimMonkey

  • Guest
Re:what is opposite of soldier in vehicle?
« Reply #3 on: 02 Aug 2004, 03:46:07 »
Put this code as the 'Condition' for a Trigger:

Code: [Select]
Not (Bravo In November1)
And put whatever you want for the 'On Activation' field.

So once Bravo exits November1, whatever you put in the 'OA' will instantly activate.

This should work.


Beware the GrimMonkey
« Last Edit: 02 Aug 2004, 03:47:07 by GrimMonkey »