create_puzzle_switch
Create a puzzle switch and door. The switch activates a game switch; the door opens when the switch is on.
Instructions
Create a puzzle switch and door pair on a map. The switch activates a game switch; the door opens when that switch is ON. Creates 2 events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | Map ID | |
| switchX | Yes | Switch X position | |
| switchY | Yes | Switch Y position | |
| doorX | Yes | Door X position | |
| doorY | Yes | Door Y position | |
| gameSwitchId | Yes | Game switch ID to activate | |
| switchName | No | Switch event name (default "Switch") | |
| doorName | No | Door event name (default "Door") |