Skip to main content

InteractedWarheadLever

Gets called when player interacted with warhead lever.

Start a script section

!-- OnEvent InteractedWarheadLever
-- require @evPlayer $evEnabled

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerInteractedWarheadLeverEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player that invoked the event.
$evEnabledbool valueGets whether the warhead is now enabled.