Booleans YAY Posted March 26, 2017 Posted March 26, 2017 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"); }
naaiz Posted March 26, 2017 Posted March 26, 2017 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.
Aiban Posted March 26, 2017 Posted March 26, 2017 When i made a flax spinner i did myPosition.getZ() == int to climb stairs and it worked fine
Explv Posted March 26, 2017 Posted March 26, 2017 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); 5