Howto:Add new fgcommands to FlightGear: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Source and commit templates instead if explicit URLs; +-syntax highlighting: php → nasal)
No edit summary
Line 1: Line 1:
{{Extension Mechanisms}}
= Background =
= Background =
So called "'''fgcommands'''" are FlightGear extension functions which can be invoked in a number of different ways, such as embedded in various XML files (in the form of "action" [[Bindings]]), but also via [[Nasal]] scripts using the '''fgcommand'''() extension function. In addition, it is also possible to invoke '''fgcommands''' using the telnet/props interface, so that a simple form of "Remote Procedure Calling" can be implemented, i.e. triggering code via telnet to be run inside the FlightGear process.
So called "'''fgcommands'''" are FlightGear extension functions which can be invoked in a number of different ways, such as embedded in various XML files (in the form of "action" [[Bindings]]), but also via [[Nasal]] scripts using the '''fgcommand'''() extension function. In addition, it is also possible to invoke '''fgcommands''' using the telnet/props interface, so that a simple form of "Remote Procedure Calling" can be implemented, i.e. triggering code via telnet to be run inside the FlightGear process.

Navigation menu