freshman123m 1 Author Posted July 27, 2017 getmap().getdestination().equals(tile) Does not seem to be a getDestination method, there is a getMiniMapTileDestination however that returns a Minimaptiledestination object
Manly 879 Posted July 27, 2017 Does not seem to be a getDestination method, there is a getMiniMapTileDestination however that returns a Minimaptiledestination object Uhh it must be under getwalking then. Ive forgotten which one its under.
Scorpius 144 Posted July 27, 2017 Here is what I use to traverse in my scripts (Usually pointing to a random tile inside an area); if (getWalking().getDestination() == null) { getWalking().walk(area_bank.getRandomTile()); } else if (!area_bank.contains(getWalking().getDestination()) && getWalking().getDestinationDistance() < 6) { getWalking().walk(area_bank.getRandomTile()); }
Manly 879 Posted July 27, 2017 The docs say getDestination() returns -1 if no destination btw, not null. Thats getDestinationDistance()
Recommended Posts
Archived
This topic is now archived and is closed to further replies.