Home   Help Search Login Register  

Author Topic: Detecting if unit has departed vehicle  (Read 777 times)

0 Members and 1 Guest are viewing this topic.

Offline trinec

  • Members
  • *
  • I'm a llama!
Detecting if unit has departed vehicle
« on: 26 Feb 2003, 07:27:49 »
Could Someone tell me if there is a way to have a script launch when a unit gets out of a vehicle or a group gets out of a vehicle. thanks

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Detecting if unit has departed vehicle
« Reply #1 on: 26 Feb 2003, 09:03:08 »
Yes.

For a single unit....

!unit in vehicle

For an entire group.....

"_x in vehicle" count (units group) ==  0
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Offline trinec

  • Members
  • *
  • I'm a llama!
Re:Detecting if unit has departed vehicle
« Reply #2 on: 28 Feb 2003, 02:10:14 »
Thanks toadlife for the answer it didnt work with == so i just put >= and it worked thanks