BlastDoorChanging
Gets called when a blast door changes state.
Start a script section
!-- OnEvent BlastDoorChanging
-- require *evBlastDoor $evNewState $evIsAllowed
# Add your instructions here
- Group: ServerEvents
- Cancellable: Yes
- Event data:
BlastDoorChangingEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
*evBlastDoor | reference to BlastDoor object | Gets the current Blast Door. |
$evNewState | bool value | Gets or sets the BlastDoor new state. |
$evIsAllowed | bool value | Whether the event is allowed to run. |