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

    Class EffectAddBeforeEventSignal

    Advertisement

    Manages callbacks that are connected to when an effect is added to an entity.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • callback: (arg0: EffectAddBeforeEvent) => void

        This closure is called with restricted-execution privilege.

      Returns (arg0: EffectAddBeforeEvent) => void

      Closure that is called with restricted-execution privilege.

      Adds a callback that will be called when an effect is added to an entity.

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

      This function can be called in early-execution mode.

    • Parameters

      • callback: (arg0: EffectAddBeforeEvent) => void

        This closure is called with restricted-execution privilege.

      Returns void

      Removes a callback from being called when an effect is added to an entity.

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

      This function can be called in early-execution mode.

    Advertisement