puppychowder 0 Share Posted June 2, 2019 What would it look like to check my characters location to make sure its on a certain level Area bankArea = new Area(2447,3483, 2451, 3480, 1); My bank is on the second level and it is making it difficult as the character runs under the bank instead on going to the ladder an climbing up first. So my logic is that I need to check to see if player is on the correct floor before going to the bank. Link to comment Share on other sites More sharing options...
Hashtag 8369 Share Posted June 2, 2019 You can use getLocalPlayer().getZ(). That'll return what you want. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now