Howto:Add new fgcommands to FlightGear: Difference between revisions

Jump to navigation Jump to search
m
Line 193: Line 193:




After rebuilding FlightGear, you can easily invoke the new "hello_world" fgcommand like this:
After adding the new callback to the callback list and rebuilding FlightGear, you can easily invoke the new "hello_world" fgcommand using the Nasal console like this:
 
<syntaxhighlight lang="php">
fgcommand("hello_world", props.Node.new( {"name": "Howard Hughes"} ));
</syntaxhighlight>


== Reaching out to subsystems ==
== Reaching out to subsystems ==

Navigation menu