


optional property settings allowed multipleġ0 optional run loop next in this many seconds
#Flightgear forums simulator
optional initial simulator state see below Noon optional defines daytime any of "dawn", optional time between fulfillment of steps in sec optional time between tutorial steps in sec optional defines where to load sound samplesĥ optional defines default loop interval in sec mandatory longer description for the dialog mandatory short identifier, also shown in the Please see line 477-480 of tutorial.nas in $FG_ROOT/Nasal/tutorial to see how this is done.īasically, you should be able to come up with your own "reload" function by combining the stop() and the load() functions and adding a new "reload" function to tutorial.nas: Once you have stopped all running tutorials, you can reload the corresponding tutorial. Please see line 112-122 of tutorial.nas in $FG_ROOT/Nasal/tutorial. See line 28-37 of tutorial.nas in $FG_ROOT/Nasal/tutorial to see how this is done.īefore you can actually reload a tutorial, you must first of all STOP it. Tutorial.nas module is loaded via a listener ("/nasal/tutorial/loaded"). This article or section will be worked on in the upcoming hours or days. To learn more about translating tutorials, please see: Missions & Adventures Regarding suggested coding practices, you should check out: Nasal scripting language#Memory management and Nasal#Managing timers and listeners. Please see the Nasal documentation on sub modules for details: Nasal#Nasal sub modules. Modules loaded as Nasal sub modules do automatically support reloading, because they are loaded via a listener. Support for Nasal sub modules was added by ThorstenB. In recent FGDATA, the Nasal "tutorial" module has become a so called "Nasal sub module", which means that the "tutorial.nas" module now resides in its own sub folder inside $FG_ROOT/Nasal. The tutorial system itself was largely developed by Stuart. To learn more about interfacing FlightGear to web sites (without having to go through the multiplayer protocol) by making HTTP requests via Nasal, please see this tutorial:Īs of V2.9.0, FlightGear can display aircraft checklists in a standardized way, under Help->Aircraft Checklists.Ĭhecklists are situated under /sim/checklists. Continue reading at "Mission" for helicopters.
