Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Altitude detection?  (Read 1081 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