842
edits
Legoboyvdlp (talk | contribs) (Add createFlightplan to docs) |
Legoboyvdlp (talk | contribs) |
||
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 | |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. |
edits