Jump to content

walk();


fre024

Recommended Posts

I want to click on the tile not walk.

Sorry for the missconception


Why would you ever want to walk to a tile that you cannot reach?

 

If you're intent on doing this anyway, create a MiniMapTileDestination and click the bounding box.

 

Help me out here please, i am still learning.

MiniMapTileDestination(bot, Tile);

method is undefined.

Link to comment
Share on other sites

private boolean clickMiniMapPosition(Position position) throws InterruptedException {
	return mouse.click(new RectangleDestination(bot, new MiniMapTileDestination(bot, position).getBoundingBox()));
}

FYI the bounding box will return null and you will receive a NPE if you try to use this to walk to a tile not on the current minimap.

Edited by Swizzbeat
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...