Skip to main content

DoorRepairing

Gets called when a door is repairing.

Start a script section

!-- OnEvent DoorRepairing
-- require *evDoor $evRemainingHealth $evIsAllowed

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: Yes
  • Event data: DoorRepairingEventArgs

Injected variables

VariableTypeDescription
*evDoorreference to Door objectGets the current Door.
$evRemainingHealthnumber valueGets or sets the remaining health of the Door.
$evIsAllowedbool valueWhether the event is allowed to run.