Copy an event, whole
copy_eventDuplicate an RPG Maker event to another cell or map, deep-cloning pages, conditions, graphics, triggers, commands, and notes. The copy gets a fresh ID and self switches, leaving the source unchanged.
Instructions
Duplicate an event onto another cell or another map: every page with its conditions, graphic, trigger and full command list, deep-cloned, plus the note. The copy gets a fresh id and its own self switches (those are keyed by event id at runtime), so a chest copy starts closed even if the original is open. Both copies are live afterwards, which matters for an autorun or parallel-process event. The source is not modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | No | Defaults to the source's name | |
| mapId | Yes | ||
| eventId | Yes | ||
| toMapId | No | Defaults to the map the source is on |