import GoToAmmoDispatch from 'yolkbot/dispatches/GoToAmmoDispatch';
bot.dispatch(new GoToAmmoDispatch());
PATHFINDING intentA GoToAmmoDispatch 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:
bot.pathing.followingPath to falsebot.pathing.followingPath back to trueimport GoToAmmoDispatch from 'yolkbot/dispatches/GoToAmmoDispatch';
bot.dispatch(new GoToAmmoDispatch());
PATHFINDING intentA GoToAmmoDispatch 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:
bot.pathing.followingPath to falsebot.pathing.followingPath back to true