Home   Help Search Login Register  

Author Topic: Altitude detection?  (Read 1004 times)

0 Members and 1 Guest are viewing this topic.

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
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.
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Altitude detection?
« Reply #1 on: 12 Aug 2005, 07:09:37 »
check the comref.

Code: [Select]
_height = getpos object_name select 2

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