Nasal library: Difference between revisions

(Add createFlightplan to docs)
Line 1,215: Line 1,215:
|syntax = createFlightplan(path);
|syntax = createFlightplan(path);
|source = {{flightgear file|src/Scripting/NasalPositioned.cxx|l=2331|t=Source}}
|source = {{flightgear file|src/Scripting/NasalPositioned.cxx|l=2331|t=Source}}
|text = Creates an empty flightplan object. It accepts one argument, ''path'' passed an absolute path to a .fgfp / .xml / .gpx file, it will populate the flightplan with waypoints from the file.
|text = Creates an empty flightplan object. It accepts one argument, ''path'' passed an absolute path to a .fgfp / .gpx file, it will populate the flightplan with waypoints from the file.
|param1 = path
|param1 = path
|param1text = Optional parameter defining the file from which a flightplan will be populated.
|param1text = Optional parameter defining the file from which a flightplan will be populated.
842

edits