MATT Filter by Attributes - ironmonk108/monks-module-wiki GitHub Wiki

Filter by Attributes

Filters entities by stats, attributes & flags.

Use Check Variable instead to filter MATT's saved variables.

Use this to directly target an entity; the following entity types are able to be targeted.

Please note that technically any type of entity on the canvas can be targeted with this action, but any not listed here currently won't work.

This Tile

Use this to filter the tile itself.

Triggering Token

Use this to filter the triggering token.

Tokens Within Triggering Tile

Use this to filter all tokens within the triggering tile.

Player Tokens

Use this to filter all player tokens on the scene.

Current Action Collection

Use this to filter the current action collection.

Use Tagger

Use this to filter all valid entities with a Tag matching your Use Tagger settings.

Attribute

Put the exact datapath of the attribute/stat/flag/(whatever your system calls stuff) to be used here. Capitalization matters.

The various entity type links above contain instructions on finding the datapaths.

  • The auto-fill is not complete nor always up-to-date. Just type your datapath in manually if it doesn't appear.
  • MATT trims out most of the datapath on supported systems; you just need foo and not system.actor.foo for example.
    • D&D 5e example: normally you would reference passive perception with system.actor.skills.prc.passive; with it trimmed it would just be skills.prc.passive.
  • Flags on tokens that reference their actor do need to specify that its looking at the actor.
    • Add actor. to the front of the datapath for actor flags. Example: actor.flags.tidy5e-sheet.weight
  • To filter by a saved Variable, use flags.monks-active-tiles.variables.foo.

D&D 5th Edition

  • Passive perception is skills.prc.passive; not skills.per.passive; that is passive performance.

Value

  • You need an operator unless filtering an array. = 10
  • < > = are all operators that can be used to tune your tile trigger.
    • ≤ ≥ Do not work, use >= and <=.
  • You need a space between the operators and the value. >= 20
  • Filtering by a string requires a equals sign at the start, then use a set of quotation marks around the value to properly filter by it. Example: = "name".
    • To filter an array and whether the value exists inside them; don't use an equals sign like you usually would for a string. Example: "Tag"
  • Accepts inequality operators. !=
  • Accepts Handlebar Expressions.

Notes

Sample Tiles That Use This Action

Page Last Updated

  • Foundry 13.347
  • MATT 13.05
⚠️ **GitHub.com Fallback** ⚠️