Delta
Values
A Delta
value is the previous frame's value. Note: when you use Delta
it is implicit that you are referring to an address and not a value.
Examples of how it can be used:
- Detect if the level has been increased:
mem level > delta level
. It means "current level is greater than the previous frame's level". - Detect damage:
mem health < delta health
. It means "current health is smaller than the previous frame's health". Or you can just make the previous frame's value a requirement.delta health = 1
means "the previous frame's value for health must be 1 when the achievement pops up."
In the Real Examples section there are some good examples: