add_event_command
Insert commands into RPG Maker MZ event pages to control game actions like displaying text, transferring players, or managing variables.
Instructions
Add a command to an event page (e.g., show text, transfer player, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Command code (e.g., 101=Show Text, 201=Transfer Player, 122=Control Variables) | |
| event_id | Yes | Event ID | |
| map_id | Yes | Map ID | |
| page_index | Yes | Page index (0-based) | |
| parameters | Yes | Command parameters | |
| project_path | Yes | Path to the RPG Maker MZ project directory |