Action Variable

From ENIGMA
Revision as of 22:44, 2 May 2013 by FrogotoBot (talk | contribs) (→‎Code Equivalent: general cleanup using AWB)
Jump to navigation Jump to search

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; 
}