fre024 Posted June 8, 2014 Share Posted June 8, 2014 (edited) This method will not walk to the tile if it is unreachable (for example water). // ignore : How can i walk to a tile on water? how can i CLICK on a tile on water? thx Edited June 8, 2014 by fre024 Link to comment Share on other sites More sharing options...
Jack Posted June 8, 2014 Share Posted June 8, 2014 I think you answered your own question... Link to comment Share on other sites More sharing options...
fre024 Posted June 8, 2014 Author Share Posted June 8, 2014 (edited) I think you answered your own question... It is not possible? Can i not use mouse.click(dunno what comes here); Edited June 8, 2014 by fre024 Link to comment Share on other sites More sharing options...
Jack Posted June 8, 2014 Share Posted June 8, 2014 It is not possible? Can i not use mouse.click(dunno what comes here); If the tile is not reachable, you cant walk to it... We must not be on the same page... Link to comment Share on other sites More sharing options...
Swizzbeat Posted June 8, 2014 Share Posted June 8, 2014 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. Link to comment Share on other sites More sharing options...
Extreme Scripts Posted June 8, 2014 Share Posted June 8, 2014 You can't walk onto a tile with water, only tiles that are clickable can be walked on. Link to comment Share on other sites More sharing options...
fre024 Posted June 8, 2014 Author Share Posted June 8, 2014 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 More sharing options...
Swizzbeat Posted June 8, 2014 Share Posted June 8, 2014 (edited) 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 June 8, 2014 by Swizzbeat Link to comment Share on other sites More sharing options...