build_screen_effect
Build a screen transition effect event command for fade, tint, flash, or shake, returning a command object ready for insertion into RPG Maker MZ events via insert_event_commands.
Instructions
Build a screen transition/effect event command for insertion via insert_event_commands: fadeout (221) / fadein (222) — no params; tint (223) & flash (224) — an [r,g,b,a] color over duration frames; shake (225) — power/speed over duration. wait holds the event until it finishes. Read-only: returns { command }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which screen effect to build | |
| wait | No | tint/flash/shake: hold the event until it finishes (default true) | |
| color | No | tint: [red,green,blue,gray] (−255…255); flash: [red,green,blue,intensity] (0…255) | |
| power | No | shake: strength 1–9 (default 5) | |
| speed | No | shake: speed 1–9 (default 5) | |
| indent | No | Indentation level (default 0) | |
| duration | No | tint/flash/shake: frames (default 60) |