Register

Door Macro

An Add-on Module for Foundry Virtual Tabletop

Author: Zhell Project Source: Project URL Versions 12+ (Verified 12) Last Updated 2 months, 3 weeks ago

DOOR MACRO

apply macro directly to the door

You can apply a macro to a door. You can trigger this macro when the door is:

Open a door's config and enter the macro editor placed in the header (door icon). If the macro needs to do things only a GM is allowed to do, like toggle lights for example, you can set the macro to be executed as GM. This will cause the macro to find the first active GM available and execute it as them. If not set to be executed as GM, the macro is executed as the user who changed the state of the door.

 

 

 

Door Macro.

Apply macro directly to the door.

In addition, there is now WallDocument#callMacro(type="never", options={}), which can be used to execute an arbitrary script embedded on the Door manually. The types are "whenOpened", "whenClosed", "whenLocked", "whenUnlocked", "whenHidden", "whenRevealed", and "never", the last of which is never executed automatically.

Categories

Available Versions

  1. Version 12.0.2

    2 months, 3 weeks ago
    Foundry Version 12+ (Verified 12) Manifest URL Read Notes
  2. Version 11.0.1

    1 year, 5 months ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  3. Version 11.0.0

    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  4. Version 10.0.3

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