Skip to main content

GainingExperience

Gets called when SCP-079 is gaining experience.

Start a script section

!-- OnEvent GainingExperience
-- require @evPlayer $evAmount $evReason $evSubject $evIsAllowed

# Add your instructions here
  • Group: Scp079Events
  • Cancellable: Yes
  • Event data: Scp079GainingExperienceEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the SCP-079 player instance.
$evAmountnumber valueGets or sets the amount of experience that is going to be gained.
$evReasonScp079HudTranslation enum valueGets or sets the reason of experience gain that is going to be shown in HUD.
$evSubjectRoleTypeId enum valueGets or sets the optional subject of the notification, used as replacement to display which class has been terminated.
$evIsAllowedbool valueWhether the event is allowed to run.