Nasal Initialization: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 7: Line 7:
== Core modules ==
== Core modules ==
The nasal root folder (FGDATA/Nasal/) is scanned for .nas files and these files are loaded (apparantly in alphabetical order).
The nasal root folder (FGDATA/Nasal/) is scanned for .nas files and these files are loaded (apparantly in alphabetical order).
After all .nas files are loaded '''/sim/signals/nasal-dir-initialized''' is set, which triggers listeners in some of the files just loaded.
After all .nas files are loaded {{code|/sim/signals/nasal-dir-initialized}} is set, which triggers listeners in some of the files just loaded.
This allows to use functions from other core files, which have just been defined, e.g. which were not yet available when parsing the file.
This allows to use functions from other core files, which have just been defined, e.g. which were not yet available when parsing the file.
{{note|for a list of modules see [[Nasal Modules]]}}


== Optional (load-once) modules ==
== Optional (load-once) modules ==
252

edits

Navigation menu