fireblast Posted September 4, 2016 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 ;)
Apaec Posted September 4, 2016 Posted September 4, 2016 Sorc garden is a really hard script to make if you're new!
fireblast Posted September 4, 2016 Author 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
Mr Pro Pop Posted September 17, 2016 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