Difference between revisions of "GetScriptVariable"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
(Added)
 
imported>JOG
m
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  GetScriptVariable ''ObjectRef'' ''variable''  
  GetScriptVariable ''ObjectRef'', ''variable''  


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

Revision as of 05:38, 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