Difference between revisions of "GetScriptVariable"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
m
imported>JOG
m
Line 16: Line 16:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Quest Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]

Revision as of 05:40, 13 April 2006

Syntax:

GetScriptVariable ObjectRef, variable 

Returns the value of a local variable in the chosen object's script.

NOTE: This is ONLY a condition function. In order to get the value of a quest variable in a script, there is no need for a function. Just use the syntax:


ObjectRef.VarName


See Also

GetGlobalValue