Script API - v1.26.10
    Preparing search index...

    Class EntityDieAfterEventSignal

    Supports registering for an event that fires after an entity has died.

    export class EntityDieAfterEventSignal {
    private constructor();
    subscribe(
    callback: (arg0: EntityDieAfterEvent) => void,
    options?: EntityEventOptions,
    ): (arg0: EntityDieAfterEvent) => void;
    unsubscribe(callback: (arg0: EntityDieAfterEvent) => void): void;
    }
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      Returns void

      Stops this event from calling your function when an entity dies.

      This function can't be called in restricted-execution mode.

      This function can be called in early-execution mode.