InteractedElevator
Gets called when the player has interacted with an elevator.
Start a script section
!-- OnEvent InteractedElevator
-- require @evPlayer *evElevator *evPanel
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerInteractedElevatorEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who interacted with elevator panel. |
*evElevator | reference to Elevator object | Gets the elevator chamber. |
*evPanel | reference to ElevatorPanel object | Gets the elevator panel that was interaction done with. |