Relative and absolute

From ENIGMA

Jump to: navigation, search

In GameMaker and LateralGM, absolute indicates a set value. For example, if you set the variable puzzles to be 3, you have set puzzles to be exactly three, without considering what the value of puzzles used to be.

Conversely, relative indicates a change in value. For example, if you set the variable puzzles to be relative to 3, you have increased the value of puzzles by three units. Similarly, if you set it to be relative to -3, you have decreased its value by three units.

In D&D

Whether you are changing a variable absolutely or relatively is determined by whether you check the box Relative when using any action that requires you to input a number (for example, when using the action set alarm).

In GML

Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox