Append a Show Text dialog
show_textAdds a text dialog to an RPG Maker MZ event page, building command 101 and 401 entries so dialog lines render correctly and never become null.
Instructions
Add a Show Text dialog to an event page. MZ stores a dialog as one command 101 carrying [faceName, faceIndex, background, positionType, speakerName] followed by one command 401 per text line, each holding its line in parameters[0]; this tool builds that shape so lines can never end up as null in $gameMessage._texts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | One entry per dialog line; escape codes like \N[1] work | |
| mapId | Yes | ||
| indent | No | Use the surrounding block's indent when inserting inside a branch | |
| eventId | Yes | ||
| faceName | No | Face image name from img/faces, default empty | |
| faceIndex | No | ||
| pageIndex | No | ||
| background | No | 0 window, 1 dim, 2 transparent | |
| speakerName | No | ||
| positionType | No | Engine default is 2 |