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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the SCP-079 player instance. |
$evAmount | number value | Gets or sets the amount of experience that is going to be gained. |
$evReason | Scp079HudTranslation enum value | Gets or sets the reason of experience gain that is going to be shown in HUD. |
$evSubject | RoleTypeId enum value | Gets or sets the optional subject of the notification, used as replacement to display which class has been terminated. |
$evIsAllowed | bool value | Whether the event is allowed to run. |