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
| Variable | Type | Description |
|---|---|---|
*evDoor | reference to Door object | Gets the current Door. |
$evRemainingHealth | number value | Gets or sets the remaining health of the Door. |
$evIsAllowed | bool value | Whether the event is allowed to run. |