Difference between revisions of "GetScriptVariable"
imported>Haama (Category links) |
imported>Bruneauinfo (→Notes) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 4: | Line 4: | ||
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. |
||
==Notes== |
|||
| ⚫ | |||
| ⚫ | |||
ObjectRef.VarName |
ObjectRef.VarName |
||
*For a definition of what is meant by ''local variable'' see the article [[Special variables]]. |
|||
==See Also== |
==See Also== |
||
| Line 17: | Line 19: | ||
[[Category: Functions]] |
[[Category: Functions]] |
||
[[Category:Functions (CS)]] |
|||
[[Category: Functions (CS 1.0)]] |
[[Category: Functions (CS 1.0)]] |
||
[[Category: Condition Functions]] |
[[Category: Condition Functions]] |
||
| Line 22: | Line 25: | ||
[[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 --> |
|||
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.
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