MATT Check Tile Trigger Count - ironmonk88/monks-module-wiki GitHub Wiki

Check Tile Trigger Count

A more advanced version of the Min. Required to Trigger field; it allows actions to continue, branch, or stop if the trigger count isn't met.

Trigger Count

  • You need an operator; < > = are all operators that can be used to tune your tile trigger.
    • ≤ ≥ Do not work, use >= and <=.
  • You need a space between your operators and the value.
  • You cannot trigger a tile and still have a trigger count of = 0 or < 1 (unless Tile History is off, in which case, this action doesn't work anyway).
  • Accepts the modulo operator: % 2 == 0 which an be used to branch the action thread based on whether its an odd or even numbered trigger count. See Alternating Triggers.
  • This field accepts Handlebar Expressions.

Unique Token Triggers

Check this to have it count how many times it was triggered by unique tokens instead of all triggers.

If No Success Go To

Optional: Enter the exact name of a Landing that will be jumped to if the desired count isn't met. If left blank, the action thread will instead stop if the count isn't met.

Notes

  • This action requires Tile History to be active.
  • $\color{red}{\textsf{Warning}}$: This action can result in Infinite Loops and crash your Foundry. Use responsibly.

Sample Tiles That Use This Action

  • [Alternating Triggers](/ironmonk88/monks-module-wiki/wiki/ST-Alternating-Triggers)
  • [Clock](/ironmonk88/monks-module-wiki/wiki/ST-Clock)

Page Last Updated

  • Foundry 12.331
  • MATT 12.02