March 25, 201510 yr Is there a way to get the walking destination of your player as a position? Thanks! Edited March 25, 201510 yr by hero3128
March 25, 201510 yr getMap().getDestination() Note for some odd reason, if no flag is down it'll return the regions base X/Y, so make sure to check that if (getMap().getDestination().getX() == getMap().getBaseX() && getMap().getDestination().getY() == getMap().getBaseY()) { // Invalid flag } else { // Valid destination }
Create an account or sign in to comment