elliottdehn Posted November 15, 2015 Share Posted November 15, 2015 I have the lines: Position place1 = new Position(playerPos.getX() - 1, playerPos.getY() - 1, playerPos.getZ()); LocalWalker walker = script.getLocalWalker(); walker.walk(position) Position place2 = new Position(playerPos.getX() + 1, playerPos.getY() + 1, playerPos.getZ()); walker.walk(position); Position place3 = new Position(playerPos.getX() + 1, playerPos.getY() - 1, playerPos.getZ()); walker.walk(position); Position place4 = new Position(playerPos.getX() - 1, playerPos.getY() + 1, playerPos.getZ()); walker.walk(position); However, the player never walks to these exact locations. is there a way using the OS bot api to walk to these exact positions? Quote Link to comment Share on other sites More sharing options...
Vilius Posted November 15, 2015 Share Posted November 15, 2015 There is a WalkingEvent in api, which I think walks to the exact position. Quote Link to comment Share on other sites More sharing options...
Okabe Posted November 15, 2015 Share Posted November 15, 2015 (edited) MainScreenTileDestination mainScreenSpot = new MainScreenTileDestination(getBot(), exactSpot); getMouse().click(mainScreenSpot); or create a walk event and set the distance to 0 Edited November 15, 2015 by Okabe Quote Link to comment Share on other sites More sharing options...
Chris Posted November 15, 2015 Share Posted November 15, 2015 WalkingEvent we = new WalkingEvent(safePos); we.setMinDistanceThreshold(0); execute(we); 1 Quote Link to comment Share on other sites More sharing options...