MATT Batching - ironmonk88/monks-module-wiki GitHub Wiki
Batching
When a tile is triggered, the batching function keeps processing the action thread until it reaches an action that would necessitate running the batch before continuing; it then runs all batch-able actions simultaneously then continues down the action list.
Any Alterable values will be added together in a batch; for example, altering a token's y
value by + 100
and - 100
within the same batch will result in the token not moving at all.
The following actions all trigger a batch execute.
- Add Item
- Add to Combat
- Create Journal Note
- Create Token
- Delay Actions
- Delete Entities
- Move
- Playlist
- Remove Item
- Rotation
- Teleport
- Anything in the Action Flow or Filters sections (Kind of; the batch runs when the actions branch).
Some actions are not able to be batched, and are just run when the batch is.