OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Pointman 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.
-
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 ;)
-
Awesome Sui, thanks. (you don't even have to setpos for every alt check though, the Z difference will still be the same)