Skip to main content

SentHitmarker

Gets called when a hitmarker is sent to a player.

Start a script section

!-- OnEvent SentHitmarker
-- require @evPlayer $evSize $evPlayedAudio $evHitmarker

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player that the hitmarker was sent to.
$evSizenumber valueGets the target size multiplier.
$evPlayedAudiobool valueGets a value indicating whether the hitmarker sound effect was played.
$evHitmarkerHitmarkerType enum valueGets the type of the hitmarker.