GetScriptVariable

From the Oblivion ConstructionSet Wiki
Revision as of 21:57, 20 December 2010 by imported>Bruneauinfo (→‎Notes: Added Quest Data tab reference)
Jump to navigation Jump to search

Syntax:

GetScriptVariable ObjectRef, variable 

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

Notes

  • This is ONLY a condition function. It can only be used under the Quest Data Tab section of the CS in Quest Conditions. 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
  • For a definition of what is meant by local variable see the article Special variables.

See Also

GetGlobalValue

GetQuestVariable