ozeki6 32 Share Posted October 19, 2019 Is there a way to walk on the map using the local coordinates within my local area? I need this for my zulrah script. Link to comment Share on other sites More sharing options...
Nuclear Nezz 2040 Share Posted October 20, 2019 getWalking().walk(the tile) If it's local, it'll use astar path finder. Link to comment Share on other sites More sharing options...
Roma 2221 Share Posted October 20, 2019 public Tile toInstancedTile(Tile localPos) { return new Tile(localPos.getX() + getBaseX(), localPos.getY() + getBaseY(), localPos.getZ()); } Link to comment Share on other sites More sharing options...
ozeki6 32 Author Share Posted October 20, 2019 7 hours ago, Roma said: public Tile toInstancedTile(Tile localPos) { return new Tile(localPos.getX() + getBaseX(), localPos.getY() + getBaseY(), localPos.getZ()); } Thanks mate. This is what I was looking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.