create_teleport_event
Create a teleport event to move the player to a different map position by specifying source and destination coordinates.
Instructions
HIGH LEVEL: Create a teleport event that transfers the player to another map position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | The current map ID | |
| x | Yes | X position on current map | |
| y | Yes | Y position on current map | |
| destMapId | Yes | Destination map ID | |
| destX | Yes | Destination X coordinate | |
| destY | Yes | Destination Y coordinate | |
| trigger | No | Trigger: 0=action button (doors), 1=player touch (walk-on, default) |