Difference between revisions of "GetScriptVariable"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Fella
imported>Vswe
m (Added Search Terms)
Line 23: Line 23:
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions (CS 1.0)]]
[[Category: Miscellaneous Functions (CS 1.0)]]
<!-- Begin Search Terms
Get
Script
Variable
End Search Terms -->

Revision as of 09:34, 20 June 2008

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