InteractingWarheadLever
Gets called when player interacts with warhead lever.
Start a script section
!-- OnEvent InteractingWarheadLever
-- require @evPlayer $evEnabled $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerInteractingWarheadLeverEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player that invoked the event. |
$evEnabled | bool value | Gets or sets whether the warhead should be enabled. |
$evIsAllowed | bool value | Whether the event is allowed to run. |