MATT Loop Through Entities - ironmonk88/monks-module-wiki GitHub Wiki

Loop Through Entities

Loops the current action collection through a set of actions one at a time; this is useful if you need to have a different random outcome for each entity.

Name

The name of the Landing to have the loop start at. Spaces, symbols, and capitalization all must match.

This field accepts Handlebar Expressions.

Tokens Within Triggering Tile

Use this to loop all tokens within the triggering tile through the action thread.

Player Tokens

Use this to loop all player tokens on the scene through the action thread.

Players

Use this to loop all players through the action thread.

Current Action Collection

Use this to loop the current action collection through the action thread.

By default this starts on Current Tokens. Click the button again to have the dropdown appear to select other collections.

Use this to loop all Tagged entities matching your Use Tagger settings through the action thread.

Resume After Limit

An optional Landing; this thread will run after the loop thread is completed (but not any threads that may result from that loop). Spaces, symbols, and capitalization must match.

This field accepts Handlebar Expressions.

Notes

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

Sample Tiles That Use This Action

Page Last Updated

MATT 12.01

⚠️ **GitHub.com Fallback** ⚠️