Action Variable

From ENIGMA
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Action variable.png

Variable

Sets the given variable to the given value.

Parameters

Parameter Description
Applies To which object is to perform the action (eg. self, other, etc)
Variable the name of the variable
Value value to the set the variable to
Relative (true or false) whether to perform the operation relative to the variables value

Code Equivalent

// sets the other object's variable relative to positive five
with (other)
{ 
  myvarname += 5; 
}