Jump to content

Can't get walking.walk to move exact tiles..!


Recommended Posts

Posted (edited)

Hi

 

I can't seem to get walking.walk to move exactly one tile like I want it to. I can't find any other posts on this, so sorry for the nooby question(??).

It seems to work just fine when moving 4+ tiles

 

Thanks in advance for the help!

 

			Position oneTile = new Position((myPlayer().getX() + 1), myPlayer().getY(), myPlayer().getZ());
			walking.walk(oneTile);

 

Edited by Mushphang

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...