GetGraphicalVariable (string variable_name);
Returns the value of the interaction editor VARIABLE_NAME variable. This allows your
script to access the values of variables set in the interaction editor.
NOTE: This command is obsolete, and is only provided for backwards compatibility
with AGS 2.x. When writing new code, use global variables
instead.
Example:
if (GetGraphicalVariable("climbed rock")==1)
{ code here }
will execute the code only if interaction variable "climbed rock" is 1.
See Also: GetGlobalInt, SetGraphicalVariable
|