update_starting_position
Set the initial player spawn location in RPG Maker MZ/MV by specifying map coordinates. This tool configures where the game begins when started.
Instructions
Update the game starting position
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | ||
| x | Yes | ||
| y | Yes |
Implementation Reference
- src/tools/systemTools.ts:113-126 (handler)The handler function that updates the starting position in System.json.
export async function updateStartingPosition( projectPath: string, mapId: number, x: number, y: number ): Promise<void> { const system = await getSystem(projectPath); system.startMapId = mapId; system.startX = x; system.startY = y; const systemPath = getDataPath(projectPath, 'System.json'); await writeJsonFile(systemPath, system); }