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
) »
How to detect if a vehicle is on its roof??
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How to detect if a vehicle is on its roof?? (Read 448 times)
0 Members and 1 Guest are viewing this topic.
duckwilliamson
Guest
How to detect if a vehicle is on its roof??
«
on:
18 Jul 2003, 06:05:47 »
Simple: how do you detect if a vehicle is upside-down or on its side, etc.
Logged
Black Fox
Guest
Re:How to detect if a vehicle is on its roof??
«
Reply #1 on:
18 Jul 2003, 07:06:40 »
I think this has something do do with the canMove function. I can't remember the syntax of it, though.
Logged
Knut Erik
Guest
Re:How to detect if a vehicle is on its roof??
«
Reply #2 on:
19 Jul 2003, 17:42:11 »
Hm.... If the unit is on the roof/side etc it can't move...
Mabye the canMove command can detect it.
SYNTAX:
canMove VehicleName
Logged
duckwilliamson
Guest
Re:How to detect if a vehicle is on its roof??
«
Reply #3 on:
22 Jul 2003, 00:55:52 »
uh yes thx guys i didn't know about the canmove ...
it works as you said for vehicles on their roof or side or disabled somehow ...
thx again
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
) »
How to detect if a vehicle is on its roof??
Top of page