MATT Variable - ironmonk88/monks-module-wiki GitHub Wiki
Variables
The Set Active Tiles Variable action allows you to store information in the tile, such as attribute values from the triggering token, and then reference them later in the action list, or even apply them to other entities. You can also just use them to count various things, such as the number of successes or failures.
Usage Examples
Here's a few examples of a variable being used; these are not the only actions that can make use of these, they're just intended as a demonstration. Most* actions with value or text fields can reference them. Variables can referenced using {{variable.VariableName}}
.
Alter
The Alter action can adjust attributes relative to stored variables using the handlebar expression {{variable.VariableName}}
, replacing variablename
with the name entered.
The above example moves the token by an amount equal to their current hitpoints.
Chat Message
Displays the current value of the variable using the handlebar expression {{variable.VariableName}}
.
Check Variable
A simplified combination of Filter by Attributes
and Check Entity Count
that only checks variables; just put the same name as the variable you're checking against.
Filter by Attributes
To filter a tile by a saved variable, use flags.monks-active-tiles.variables.VariableName
as the attribute path. Or use the Check Variable action above, its easier.
Page Last Updated
- MATT 11.18