bot.emit('throwGrenade', 0.75); // throws a grenade with 75% power
// legacy dispatches: bot.dispatch(new ThrowGrenadeDispatch(0.75));
power (number): The power of the throw, ranging from 0 to 1 with up to two decimal places. 1 is the maximum power, and 0 is as if you just tap the q key.The bot will throw the grenade in the direction the bot is facing. The power will help decide how far it goes, but actually knowing where it would go is heavy trial and error.
bot.emit('throwGrenade', 0.75); // throws a grenade with 75% power
// legacy dispatches: bot.dispatch(new ThrowGrenadeDispatch(0.75));
power (number): The power of the throw, ranging from 0 to 1 with up to two decimal places. 1 is the maximum power, and 0 is as if you just tap the q key.The bot will throw the grenade in the direction the bot is facing. The power will help decide how far it goes, but actually knowing where it would go is heavy trial and error.