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 |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Command code (e.g., 101=Show Text, 201=Transfer Player, 122=Control Variables)",
"type": "number"
},
"event_id": {
"description": "Event ID",
"type": "number"
},
"map_id": {
"description": "Map ID",
"type": "number"
},
"page_index": {
"description": "Page index (0-based)",
"type": "number"
},
"parameters": {
"description": "Command parameters",
"type": "array"
},
"project_path": {
"description": "Path to the RPG Maker MZ project directory",
"type": "string"
}
},
"required": [
"project_path",
"map_id",
"event_id",
"page_index",
"code",
"parameters"
],
"type": "object"
}