Commands /
Variable Manipulation
OVERVIEW
Modifies a Variable by performing an operation against it.
PROPERTIES
Name | Explanation | Type |
---|---|---|
Manipulator | The method of manipulating the Target variable. | Variable Manipulator? |
Target | The variable to store the result in. | Variable |
EXAMPLE
Example 1 You can use this command to round up a floating point value in a variable to find a specific value.
Save the party's tile location, using the Save Value command with the Source set to party and the secondary source map x. If Pixel Movement is toggled on, the location data might be something like x = 5.636.
Using the Variable Manipulation command, set the target variable to the x, or y variable, and set the manipulator to round, and the value to 0. It will round up the the first number in the variable, 5.636 becomes 6.