logo bannerlogo banner
Page Navigator
  • pos is an object with the x, y, and z properties
  • damage is a number
  • radius is a number (float)
bot.on('rocketHit', (pos, damage, radius) => {
    console.log(`a rocket hit at ${pos}!`);
    console.log(`it did ${damage} damage with a ${radius} radius`);
});
Note

Damage/hit players are not included in this hook, see playerDamage for that.