The function is still in works, but so far this has been implemented:
Airbase.getParking(true/false)
true - gets only available parking.
false - gets all parkings
Returns:
[1] =
{
Term_Index = (int)
Term_Index_0 = (int)
Term_Type = (int)
TO_AC = (bool)
fDistToRW = (float)
vTerminalPos = (vec3)
}
nt Term_Index; // Terminal index
int Term_Index_0; // Index of initial point of the taxi path
int Term_Type; // Terminal type
bool TO_AC; // true - taking off aircraft, false - landing aircraft
float fDistToRW; // Distance to RW (all distancies measured to the 1st RW edge)
enum wsTermTypes
{
wsttUnknown = 0,
wsttTurnpoint = 1 << 1,
wsttShelter = 1 << 2,
wsttOpenParking = 1
wsttRunWayPoint = 1 << 4,
wsttHelicopter = 1 << 5,
wsttAirplane = 1 << 6
};
(Term_Type & wsttOpenParking) || (Term_Type & wsttShelter) <==== is parking