Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player who is interacting with the door.
*evDoorreference to Door objectGets the door that is being interacted with.
$evCanOpenbool valueGets boolean whether player can open the door.