395
edits
Philosopher (talk | contribs) mNo edit summary |
Philosopher (talk | contribs) (→nasal) |
||
Line 37: | Line 37: | ||
=== nasal === | === nasal === | ||
[[Nasal]] is frequently used for complicated systems. | [[Nasal]] is frequently used for complicated systems, because it can execute virtually any function and allows running previously-defined Nasal functions. | ||
<syntaxhighlight> | <syntaxhighlight> | ||
<binding> | <binding> | ||
Line 44: | Line 44: | ||
</binding> | </binding> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The | The [[List of Nasal extension functions#cmdarg.28.29|cmdarg()]] function is often useful in these situations to extract offset values passed to the binding. It returns the specific <tt><binding></tt> node, which contains a <tt><setting></tt> node at runtime if used in a joystick axis that represents the value of that axis. | ||
In joysticks and keyboard keys the script is run in a specific namespace; please refer to the documentation for what the namespace is. | |||
=== property-adjust === | === property-adjust === |
edits