Skip to main content

Detonating

Gets called when the warhead is being detonated.

Start a script section

!-- OnEvent Detonating
-- require $evIsAllowed @evPlayer

# Add your instructions here
  • Group: WarheadEvents
  • Cancellable: Yes
  • Event data: WarheadDetonatingEventArgs

Injected variables

VariableTypeDescription
$evIsAllowedbool valueWhether the event is allowed to run.
@evPlayerplayer valueGets the player who is detonating the warhead.