logo bannerlogo banner
Page Navigator

Example Usage

import GoToGrenadeDispatch from 'yolkbot/dispatches/GoToGrenadeDispatch';

bot.dispatch(new GoToGrenadeDispatch());

Checks

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:

  1. Set bot.pathing.followingPath to false
  2. Do whatever looking/movement/whatever you want to do
  3. If you HAVE NOT MOVED, just set bot.pathing.followingPath back to true
  4. If you HAVE MOVED, you will need to create a new GoToGrenadeDispatch