if i click on object 2977 (rock)(OPTION WHEN I RIGHT CLICK IS : Look into sand) It will tele me to those coords, why isnt it working for me then. It teles me to some weird location
option to look in sand
I want it to tele me to coords x=3506 y=9494
but it teles me here
case 2977: // shilo drags in kalphite layre
if (c.GoodDistance(c.skillX, c.skillY, c.getX(), c.getY(), 1)) {
c.teleportToX = 3506;
c.teleportToY = 9494;
c.heightLevel = 0;
}
please whats wrong much repp
this is in atobjects.java
~thanks and repp++
Fixed problem
right code
Code:
case 2977: // shilo drags in kalphite layer
if (c.GoodDistance(c.skillX, c.skillY, c.getX(), c.getY(), 1)) {
c.heightLevel = 0;
c.teleportToX = 3506;
c.teleportToY = 9494;
}