Skip to main content

Attacking

Gets called when SCP-049 is using its attack ability.

Start a script section

!-- OnEvent Attacking
-- require @evPlayer @evTarget $evInstantKill $evIsSenseTarget $evCooldownTime $evIsAllowed

# Add your instructions here
  • Group: Scp049Events
  • Cancellable: Yes
  • Event data: Scp049AttackingEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueThe SCP-049 player instance.
@evTargetplayer valueThe player that SCP-049 is attacking.
$evInstantKillbool valueGets or sets whether the attack is an instant kill.
$evIsSenseTargetbool valueGets or sets whether the Target is a sense target.
$evCooldownTimenumber valueGets or sets the cooldown for the attack ability.
$evIsAllowedbool valueWhether the event is allowed to run.