GetVMScriptVariable

From the CreationKit Wiki
Revision as of 21:04, 5 September 2026 by HoodBot (talk | contribs) (Convert source tags to syntaxhighlight)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Returns the value of a selected script variable.

IMPORTANT: This condition will not work properly if the target object is currently in a container.

Examples[edit | edit source]

  • In order to use a script Property as a condition, you must use the "Conditional" Keyword when declaring the ScriptName and Property.
ScriptName MyScriptName extends ObjectReference Conditional

Int Property MyInt Auto Conditional