SetGraphicalVariable(string variable_name, int value);
Sets the interaction editor VARIABLE_NAME variable to VALUE. This allows your
script to change 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:
SetGraphicalVariable("climbed rock", 1);
will set the interaction editor "climbed rock" variable to 1.
See Also: GetGraphicalVariable
|