Nasal library: Difference between revisions

Jump to navigation Jump to search
Line 943: Line 943:
** '''getIAP()''' return IAP as ghost, e.g. <code>var iap = airport.getIAP("ILS02");</code>.
** '''getIAP()''' return IAP as ghost, e.g. <code>var iap = airport.getIAP("ILS02");</code>.
** '''getApproach()''' return approach as ghost, e.g. <code>var approach = airport.getApproach("ILS02");</code>.
** '''getApproach()''' return approach as ghost, e.g. <code>var approach = airport.getApproach("ILS02");</code>.
** '''tostring''' just return string "an airport ICAO".
** '''tostring()''' just return string "an airport ICAO".
** See also {{flightgear file|src/Scripting/NasalPositioned.cxx|l=1902}}.
** See also {{flightgear file|src/Scripting/NasalPositioned.cxx|l=1902}}.
* '''lon''': Longitude of the location.
* '''lon''': Longitude of the location.
1,376

edits

Navigation menu