Nasal library: Difference between revisions

Jump to navigation Jump to search
Line 929: Line 929:
|text = Function for retrieval of airport, heliport, or seaplane base information. It returns a Nasal ghost; however, its structure is like that of a Nasal hash. The following information is returned:
|text = Function for retrieval of airport, heliport, or seaplane base information. It returns a Nasal ghost; however, its structure is like that of a Nasal hash. The following information is returned:
* '''parents''': A vector containing a hash of various functions to access information about the runway. These functions are:
* '''parents''': A vector containing a hash of various functions to access information about the runway. These functions are:
** '''bestRunwayForPos()''' return runway as ghost by given geo position, e.g. <code>var rwy = airport.findBestRunwayForPos(geo.aircraft_position());</code>.
** '''findBestRunwayForPos()''' return runway as ghost by given geo position, e.g. <code>var rwy = airport.findBestRunwayForPos(geo.aircraft_position());</code>.
** '''runway()''' return runway as ghost by runway ID, e.g. <code>var rwy = airport.runway("18R");</code>.
** '''runway()''' return runway as ghost by runway ID, e.g. <code>var rwy = airport.runway("18R");</code>.
** '''runwaysWithoutReciprocals()''' return vector of runways as ghost.
** '''runwaysWithoutReciprocals()''' return vector of runways as ghost.
1,376

edits

Navigation menu