Skip to main content

ConsumingCorpse

Gets called when SCP-049-2 is consuming a corpse.

Start a script section

!-- OnEvent ConsumingCorpse
-- require $evHealAmount $evAddToConsumedRagdollList $evHealIfAlreadyConsumed @evPlayer *evRagdoll $evIsAllowed

# Add your instructions here
  • Group: Scp0492Events
  • Cancellable: Yes
  • Event data: Scp0492ConsumingCorpseEventArgs

Injected variables

VariableTypeDescription
$evHealAmountnumber valueGets or sets the amount of health to heal.
$evAddToConsumedRagdollListbool valueGets or sets whether to add the consumed ragdoll to the list of consumed ragdolls.
$evHealIfAlreadyConsumedbool valueGets or sets whether to heal the player if the ragdoll has already been consumed.
@evPlayerplayer valueGets the player that invoked the event.
*evRagdollreference to Ragdoll objectGets the ragdoll that is related to the event.
$evIsAllowedbool valueWhether the event is allowed to run.