Howto:Write simple scripts in Nasal: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 49: Line 49:
'''Crunch Time, or, testing our function:'''
'''Crunch Time, or, testing our function:'''
Now, we can start FlightGear to test our new function. Start FG in the usual manner with the appropriate aircraft.
Now, we can start FlightGear to test our new function. Start FG in the usual manner with the appropriate aircraft.
Now, call up the "nasal console" from the debug menu (only available in recent versions of FG.)  In a blank tab, type
<pre>fokker50.convertTemp();</pre> and press execute.
The "fokker50" part comes from the entry we made in the -set xml file.
[[Image:nasal_console.jpg]]
57

edits

Navigation menu