Repository navigation
Macros and API
Rutz edited this page Nov 25, 2026
·
1 revision
Available after the world is ready, as game.rutzCutin. game.rutzCutin.edition is "lite" in this module.
| Call | |
|---|---|
play(actorOrToken, { nat20, template }) |
Plays a cut-in on this screen. No target: the selected token, else your character. |
broadcast(actor, config, { nat20 }) |
GM: plays it on every screen. |
edit(actor) |
Opens the editor. |
settings(tab) |
Opens the settings window ("cutin", "voice" or "landing"). |
sound(preset) |
Plays a built-in sound ("synth1" …). |
Cancel one: Hooks.on("rutzCutinBeforePlay", data => false) — data has message, actor, token, result and config.
| Call | |
|---|---|
bark(actor, kind, { force }) |
Plays one of the character's sounds on this computer. kind is "attack", "hurt", "heavy", "down" or "spell". The usual chance and pause apply unless force: true. Returns whether something played. |
barks(actor) |
Opens the character's voice window. |
barksMenu() |
Opens the list of characters. |
| Call | |
|---|---|
landingEditor() |
The landing page editor for the scene in view (GM) |
landingSetup() |
Pick a scene, then its landing page editor (GM) |
Example — a cut-in for the selected token on every screen (GM):
game.rutzCutin.broadcast(canvas.tokens.controlled[0]);