pos is an object with the x, y, and z propertiesdamage is a numberradius 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`);
});
Damage/hit players are not included in this hook, see playerDamage for that.
pos is an object with the x, y, and z propertiesdamage is a numberradius 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`);
});
Damage/hit players are not included in this hook, see playerDamage for that.