20,741
edits
Line 42: | Line 42: | ||
== Background == | == Background == | ||
James has added initial code to work on dynamic subsystem creation, so that subsystems can be added or removed. Only some subsystems are supported so far, since many have non-default constructors or other complexities (see [[FlightGear Run Levels]] for further details). With this change, it's now possible to dynamically add and remove the traffic-manager at runtime using fgcommands, for example: | James has added initial code to work on dynamic subsystem creation, so that subsystems can be added or removed. Only some subsystems are supported so far, since many have non-default constructors or other complexities (see [[FlightGear Run Levels]] for further details). With this change, it's now possible to dynamically add and remove the traffic-manager at runtime using fgcommands, for example (pasted into the [[Nasal Console]]): | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
fgcommand("add-subsystem", props.Node.new({ | fgcommand("add-subsystem", props.Node.new({ |