Allows registration for an event that fires when an entity is removed from the game (for example, unloaded, or a few seconds after they are dead.)

Hierarchy

  • EntityRemoveAfterEventSignal

Constructors

Methods

Constructors

Methods

  • Parameters

    • callback: ((arg) => void)

      Function to call.

    • Optional options: EntityEventOptions

      Additional filtering options for this event.

      Optional

    Returns ((arg) => void)

    Returns a closure that can be used in subsequent unsubscribe operations.

      • (arg): void
      • Parameters

        Returns void

        Returns a closure that can be used in subsequent unsubscribe operations.

        Remarks

        Will call your function every time an entity is removed from the game.

        This function can't be called in read-only mode.

        This function can be called in early-execution mode.

    Remarks

    Will call your function every time an entity is removed from the game.

    This function can't be called in read-only mode.

    This function can be called in early-execution mode.

  • Parameters

    Returns void

    Remarks

    Unsubscribes your function from subsequent calls when an entity is removed.

    This function can't be called in read-only mode.

    This function can be called in early-execution mode.