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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player that the hitmarker was sent to. |
$evSize | number value | Gets the target size multiplier. |
$evPlayedAudio | bool value | Gets a value indicating whether the hitmarker sound effect was played. |
$evHitmarker | HitmarkerType enum value | Gets the type of the hitmarker. |