DoorDamaged
Gets called when a door is damaged.
Start a script section
!-- OnEvent DoorDamaged
-- require *evDoor $evDamage &evDamageType
# Add your instructions here
- Group: ServerEvents
- Cancellable: No
- Event data:
DoorDamagedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
*evDoor | reference to Door object | Gets the current Door. |
$evDamage | number value | Gets the damage value. |
&evDamageType | collection of DoorDamageType enum values | Gets the damage type. |