Home   Help Search Login Register  

Author Topic: Altitude over the sea?  (Read 728 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 »