Description:
|
Returns a table of parking data for a given airbase. If the optional value is passed only available parking will be returned, otherwise all parking at the base is returned. Term types have a value of 16, 68, or 104.
Term_index is the id for the parking
vTerminal pos is its vec3 position in the world
fDistToRW is the distance to the take-off position for the active runway from the parking.
|
Return Example:
|
Table:
[1] =
{
["Term_Index"] = 56,
["vTerminalPos"] =
{
["y"] = 20.010303497314,
["x"] = -7676.2456054688,
["z"] = 293953.5625,
}, -- end of ["vTerminalPos"]
["TO_AC"] = false,
["Term_Index_0"] = -1,
["Term_Type"] = 68,
["fDistToRW"] = 451.77697753906,
}, -- end of [3]
[2] =
{
["Term_Index"] = 55,
["vTerminalPos"] =
{
["y"] = 20.010303497314,
["x"] = -7178.9565429688,
["z"] = 294729.28125,
}, -- end of ["vTerminalPos"]
["TO_AC"] = false,
["Term_Index_0"] = -1,
["Term_Type"] = 104,
["fDistToRW"] = 1477.7482910156,
}
|