Will there be a Lua script function to get current vessel height above ground?

BEEP

Addon Developer
Addon Developer
Joined
Apr 5, 2008
Messages
153
Reaction score
15
Points
18
So far altitude and height above the ground were (roughly) the same.

Thanks a lot its not so anymore.

However I'm wondering how I'm going to update my Script MFD's and Vessels since the current script reference doc does not present me anything to deal with the new situation.

I'd love to work in advance and get my addons as ready for the release as possible, even because the betas are getting to the (wonderful) point I'm becoming interested in changing my sim plat myself.

Is it possible to make me know what is being doing/planned/considered regarding this issue?

My gratitude in advance,

Beep
 
Last edited:

BEEP

Addon Developer
Addon Developer
Joined
Apr 5, 2008
Messages
153
Reaction score
15
Points
18
My request was fulfilled in rev 55!!!

It should be said to complete/close this thread that in rev 55 the good Dr. did exactly what I asked.

http://www.orbiter-forum.com/showthread.php?t=36637&page=12

So,

alt = v:get_altitude( )

can now be

alt = v:get_altitude(mode)

where mode stands for ALTMODE.MEANRAD (default by omission) or ALTMODE.GROUND

More info in the Orbiter Help script reference.

Thanks Doc!!!

Beep
 
Last edited:
Top