GoToGrenadeDispatch
Pathfind to the nearest grenade item.
Example Usage
Checks
- The bot must be playing
- The bot must have the
PATHFINDING
intent
Important Note
A GoToGrenadeDispatch will hijack both the looking and the movement of the bot. This means that the bot will not be able to look around or move until it reaches the target. If you NEED TO MOVE, you can:
- Set
bot.pathing.followingPath
to false - Do whatever looking/movement/whatever you want to do
- If you HAVE NOT MOVED, just set
bot.pathing.followingPath
back to true - If you HAVE MOVED, you will need to create a new GoToGrenadeDispatch