Skip to main content

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

VariableTypeDescription
*evDoorreference to Door objectGets the current Door.
$evDamagenumber valueGets the damage value.
&evDamageTypecollection of DoorDamageType enum valuesGets the damage type.