Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ExplosionFunction

Callable

  • ExplosionFunction(coords: Vector, params: { entity: number; onFire: boolean; power: number; someBool: boolean; someFloat: number }): void
  • Function used in "Explosion" callback

    Parameters

    • coords: Vector

      coordinates of the explosion

    • params: { entity: number; onFire: boolean; power: number; someBool: boolean; someFloat: number }

      additional explosion data

      • entity: number

        if explosion is produced by an entity, entity unique id, -1 otherwise

      • onFire: boolean
      • power: number

        explosion power

      • someBool: boolean
      • someFloat: number

    Returns void

Generated using TypeDoc