Difference between revisions of "GetScriptVariable"
Jump to navigation
Jump to search
imported>Bruneauinfo m (→Notes: Added Quest Data tab reference) |
imported>Bruneauinfo (→Notes) |
||
Line 6: | Line 6: | ||
==Notes== | ==Notes== | ||
*This is ONLY a condition function. It can only be used under | *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 | ObjectRef.VarName |
Latest revision as of 22:05, 20 December 2010
Syntax:
GetScriptVariable ObjectRef, variable
Returns the value of a local variable in the chosen object's script.
Notes[edit | edit source]
- 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 Also[edit | edit source]