Register

Effect Macro

An Add-on Module for Foundry Virtual Tabletop

Author: Zhell Project Source: Project URL Versions 12 - 12 (Verified 12) Last Updated 6 months ago

A module that allows users to embed macros directly into effects. These macros are then called automatically when the appropriate trigger happens. The options are:

An effect can have a macro of any of these types, not just one. There is also the static 'never' type meant for being explicitly called by other scripts. This type is never called automatically.

How to

Macros are added in the ActiveEffect config. Selecting the type of trigger and clicking 'Add Macro' (or 'Edit Macro' for an existing macro) opens a macro editor. When an embedded macro is triggered, it is executed for the owner of the actor who has the effect. If no such owner, then it is executed as if by the GM.

The module will automatically iterate over all effects that currently affect the actor.

Script Helpers

By default, these variables are pre-defined in any effect macro.

Additionally, the module has a small api and system-specific triggers. See the readme on github for details.

Categories

Available Versions

  1. Version 12.1.1

    6 months ago
    Foundry Version 12 - 12 (Verified 12) Manifest URL Read Notes
  2. Version 12.1.0

    6 months ago
    Foundry Version 12 - 12 (Verified 12) Manifest URL Read Notes
  3. Version 12.0.2

    6 months, 3 weeks ago
    Foundry Version 12 - 12 (Verified 12) Manifest URL Read Notes
  4. Version 12.0.0

    7 months ago
    Foundry Version 12 - 12 (Verified 12) Manifest URL Read Notes
  5. Version 11.2.2

    10 months ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  6. Version 10.0.15

    Foundry Version 10 - 10 (Verified 10.291) Manifest URL Read Notes
  7. Version 1.0.1

    Foundry Version 9 - 9 (Verified 9) Manifest URL Read Notes