fireblast Posted September 4, 2016 Share Posted September 4, 2016 Hello there guys i want to create my own sorc garden winter course bot for leveling few farming lvl's so as thieving, but i can't understand how to make my script determine whenever to go.Currenly i'm using area's but that's not the most effective way of doing it so i'f sombody could help that would be fantastic ;) Quote Link to comment Share on other sites More sharing options...
Chris Posted September 4, 2016 Share Posted September 4, 2016 npc.getPosition() Quote Link to comment Share on other sites More sharing options...
Apaec Posted September 4, 2016 Share Posted September 4, 2016 Sorc garden is a really hard script to make if you're new! Quote Link to comment Share on other sites More sharing options...
fireblast Posted September 4, 2016 Author Share Posted September 4, 2016 Well i'm not new at scripting but i never done such thing as sorc garden so atm i'm using area to determine npc location and then i walk but its not that effective Quote Link to comment Share on other sites More sharing options...
Brooklyn Posted September 4, 2016 Share Posted September 4, 2016 npc.getPosition() this ^^ Quote Link to comment Share on other sites More sharing options...
Mr Pro Pop Posted September 17, 2016 Share Posted September 17, 2016 (edited) //If you are using it to get the position + closest npc for a fighter script or so NPC name = npcs.closest("npc name"); name.getPosition(); //if you want to use it for a position only then NPC name = npcs.closest("npc name").getPosition(); //however you can do that to get the x and y coords name.getPosition().getX(); name.getPosition().getY(); I hope i have helped, Enjoy ;) Edited September 17, 2016 by Mr Pro Pop Quote Link to comment Share on other sites More sharing options...