GetScriptVariable

Revision as of 23:05, 20 December 2010 by imported>Bruneauinfo (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

GetScriptVariable ObjectRef, variable 

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

NotesEdit

  • This is ONLY a condition function. It can only be used in circumstances referenced under Logical 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 AlsoEdit

GetGlobalValue

GetQuestVariable