GetVMScriptVariable: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
No edit summary
m (Convert source tags to syntaxhighlight)
 
Line 9: Line 9:
==Examples==
==Examples==
*In order to use a script Property as a condition, you must use the "Conditional" Keyword when declaring the ScriptName and Property.
*In order to use a script Property as a condition, you must use the "Conditional" Keyword when declaring the ScriptName and Property.
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
ScriptName MyScriptName extends ObjectReference Conditional
ScriptName MyScriptName extends ObjectReference Conditional


Int Property MyInt Auto Conditional
Int Property MyInt Auto Conditional
</source>
</syntaxhighlight>

Navigation menu