Modules.nas: Difference between revisions

Jump to navigation Jump to search
Line 59: Line 59:
==== Menu item for reloading ====
==== Menu item for reloading ====
Now add a menu item for easy reloading like this:
Now add a menu item for easy reloading like this:
{{caution|The reload mechanism has been changed to fgcommand, the reload property used in the pre-release has been removed.
The advantage is you just need to know the module name but not any complicated property path or Nasal namespace.}}
{{note|The module name passed to the fgcommand must match the name passed to <code>modules.Module.new()</code>}}
{{note|The module name passed to the fgcommand must match the name passed to <code>modules.Module.new()</code>}}
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
252

edits

Navigation menu