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 over the sea?  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Pointman

  • Guest
Altitude over the sea?
« on: 03 Feb 2003, 05:13:37 »
I noticed that GetPos returns the altitude over GROUND. is there a way to get the altitude over the SEA instead? I searched but couldn't really find anything.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Altitude over the sea?
« Reply #1 on: 04 Feb 2003, 00:05:40 »
One method I know of is to setpos a trigger to the position you want altitude AMSL, and find the differences in Z value.

Triggers are always at sea level, so the difference in height between a trigger an object at the same x,y position is your elevation ;)

Pointman

  • Guest
Re:Altitude over the sea?
« Reply #2 on: 04 Feb 2003, 01:07:05 »
Awesome Sui, thanks. (you don't even have to setpos for every alt check though, the Z difference will still be the same)
« Last Edit: 04 Feb 2003, 01:08:50 by Pointman »