Difference between revisions of "GetScriptVariable"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
m
imported>Haama
(Category links)
Line 17: Line 17:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions (CS 1.0)]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Condition Functions]]
[[Category: Miscellaneous Functions (CS 1.0)]]

Revision as of 00:16, 7 July 2007

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

GetQuestVariable