Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EntityDeathFunction

Callable

  • EntityDeathFunction(entity: number, attacker: number, damageType: number): void
  • Function used in "EntityDeath" callback

    Parameters

    • entity: number

      entity that is dead

    • attacker: number

      if the entity was killed by another entity, attacker's entity unique id, -1 otherwise

    • damageType: number

      damage source id

    Returns void

Generated using TypeDoc