InteractedDoor
Gets called when the player has interacted with a door.
Start a script section
!-- OnEvent InteractedDoor
-- require @evPlayer *evDoor $evCanOpen
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerInteractedDoorEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is interacting with the door. |
*evDoor | reference to Door object | Gets the door that is being interacted with. |
$evCanOpen | bool value | Gets boolean whether player can open the door. |