Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Altitude over the sea?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Altitude over the sea? (Read 729 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.
Logged
Sui
Former Staff
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
Logged
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
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Altitude over the sea?
Top of page