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
) »
Altitude detection?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Altitude detection? (Read 1000 times)
0 Members and 1 Guest are viewing this topic.
OFPfreak
Members
Who is da operation flashpoint freak now, freak?!
Altitude detection?
«
on:
12 Aug 2005, 06:59:18 »
Simple and short question: How do I detect altitude of an object from the ground? This way I can trigger a parachute to open just like in ECP, but for a different purpose.
Logged
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage
bedges
Administrator
Re:Altitude detection?
«
Reply #1 on:
12 Aug 2005, 07:09:37 »
check the
comref
.
Code:
[Select]
_height = getpos object_name select 2
Logged
Dane
Guest
Re:Altitude detection?
«
Reply #2 on:
12 Aug 2005, 16:29:19 »
Bedges is right.
? getpos object_name select 2 >= 150 : loonname moveindriver parachutename
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
) »
Altitude detection?
Top of page