Skip to main content

Starting

Gets called when the warhead countdown is starting.

Start a script section

!-- OnEvent Starting
-- require $evIsAutomatic $evSuppressSubtitles *evWarheadState @evPlayer $evIsAllowed

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

Injected variables

VariableTypeDescription
$evIsAutomaticbool valueWhether the warhead is starting automatically.
$evSuppressSubtitlesbool valueWhether subtitles should be suppressed.
*evWarheadStatereference to AlphaWarheadSyncInfo objectGets the current state of the alpha warhead.
@evPlayerplayer valueGets the player who is starting the warhead.
$evIsAllowedbool valueWhether the event is allowed to run.