Open, close or lock doors
set-door-stateChange Foundry VTT doors to open, closed, or locked by wall ID, with instant player updates and optional dry-run validation.
Instructions
Set doors (walls with door "door" or "secret") to open, closed or locked. Every id must be a door of the scene, else nothing changes. Players see the change at once. Needs the level "change" for scenes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | The new state | |
| dryRun | No | Only check and report what would happen, including a refusal; change nothing | |
| wallIds | Yes | Ids of the door walls, 1 to 200 | |
| sceneIdentifier | No | Scene id or name; default the scene that is active for everyone |