|
Work in progress This article or section will be worked on in the upcoming hours or days. See history for the latest developments.
|
Nasal can be used/included in various PropertyList/XML files by embedding it dedicated XML sections using the CDATA declarative.
This page is intended to help provide a reference for the various use cases:
GUI
See PUI for the main article about this subject.
|
Bindings
See Bindings for the main article about this subject.
|
Scenery
Caution It is better to avoid using Nasal in the model <load> wherever possible unless you know exactly what you are creating as you must also destroy in the unload; for example any timers or listeners must also be removed otherwise they will remain and contribute to a gradual deterioration in frame rate - which can be significant with long flights.[1]
|
xml: Scenery
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<load>
<![CDATA[
# begin of code
print("\n");
# end of code
]]>
</load>
</PropertyList>
AI
See AI Traffic for the main article about this subject.
|
References