get_map_event
Retrieve specific event data from RPG Maker MZ/MV maps using map and event IDs to access game content for editing or integration.
Instructions
Get a specific event from a map
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | ||
| eventId | Yes |
Implementation Reference
- src/tools/mapTools.ts:160-167 (handler)The function retrieves a specific event from a map by calling getMapEvents and accessing the array index.
export async function getMapEvent( projectPath: string, mapId: number, eventId: number ): Promise<MapEvent | null> { const events = await getMapEvents(projectPath, mapId); return events[eventId] || null; }