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

    Class ExplosionBeforeEventSignal

    Advertisement

    Manages callbacks that are connected to before an explosion occurs.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • callback: (arg0: ExplosionBeforeEvent) => void

        This closure is called with restricted-execution privilege.

      Returns (arg0: ExplosionBeforeEvent) => void

      Closure that is called with restricted-execution privilege.

      Adds a callback that will be called when before an explosion occurs. The callback can optionally change or cancel explosion behavior.

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

      This function can be called in early-execution mode.

    • Parameters

      • callback: (arg0: ExplosionBeforeEvent) => void

        This closure is called with restricted-execution privilege.

      Returns void

      Removes a callback from being called from before when an explosion would occur.

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

      This function can be called in early-execution mode.

    Advertisement