March 26, 20178 yr So my script is working flawlessly however the interaction of stairs is faulty. > climbs up stairs (good) > request another climb up stairs < climbs down instead, repeats climbing process looped. went as far as to check tile coordinates afterwords. Little confused on the proper fix on this. if (myPlayer().getX() == 3205 && myPlayer().getY() == 3209 && myPlayer().getZ() == 1) { bankStairs.interact("Climb-up"); }
March 26, 20178 yr If you want to go to the lumbridge bank (which I'm assuming) try webwalking to: Area lumbridgeBank = new Area(3207, 3220, 3210, 3218).setPlane(2); Will save you a headache with the stairs handling.
March 26, 20178 yr When i made a flax spinner i did myPosition.getZ() == int to climb stairs and it worked fine
March 26, 20178 yr 1 minute ago, naaiz said: If you want to go to the lumbridge bank (which I'm assuming) try webwalking to: Area lumbridgeBank = new Area(3207, 3220, 3210, 3218).setPlane(2); Will save you a headache with the stairs handling. Or just: getWalking().webWalk(Banks.LUMBRIDGE_UPPER);
Create an account or sign in to comment