Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Detecting if unit has departed vehicle
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Detecting if unit has departed vehicle (Read 777 times)
0 Members and 1 Guest are viewing this topic.
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
Logged
toadlife
OFPEC Old Skool
Former Staff
Official OFP Editing Center Toad
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
Logged
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer."
--
Cancer Omega
.
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Detecting if unit has departed vehicle
Top of page