oanigaVteWo Posted October 11, 2013 Posted October 11, 2013 (edited) Give me tips http://pastebin.com/B9rsY3jg http://pastebin.com/B9rsY3jg Right now i need help with path walking =P heres the cords i have [BANK] 3009,3358,0 NW 3018,3355,0 SE [WALKTOCOWS] 3007,3350,0 3007,3337,0 3006,3324,0 3020,3319,0 3032,3315,0 (gate) [COWPIN] 3021,3313,0 NW 3043,3297,0 SE [WALKBACK] 3032,3313,0 (inside Gate) 3018,3318,0 3007,3328,0 3007,3342,0 3013,3356,0 (inside Bank) Edited October 15, 2013 by oanigaVteWo
Wiz Khalifa Posted October 11, 2013 Posted October 11, 2013 NPC cow = closestNpcForName("Cow"); just interact with attack.
Nitrousek Posted October 11, 2013 Posted October 11, 2013 If you need any further help feel free to ask here, and when I see it I'll answer. 1
Mr Asshole Posted October 11, 2013 Posted October 11, 2013 (edited) NPC cow = closestAttackableNPCForName(new String [] {"Cow"}); if (client.getMyPlayer().getFacing() == null ){ cow.interact("Attack"); sleep(random(500,1000)); } Edited October 11, 2013 by Pain 2
Swizzbeat Posted October 12, 2013 Posted October 12, 2013 Goodluck on the script Making a combat script is pretty hard. Remember to add a message listener in case the cows already in combat ;) 1
oanigaVteWo Posted October 14, 2013 Author Posted October 14, 2013 NPC cow = closestAttackableNPCForName(new String [] {"Cow"}); if (client.getMyPlayer().getFacing() == null ){ cow.interact("Attack"); sleep(random(500,1000)); } And Thank You ~~~ Using Trying To find out why returning errors Goodluck on the script Making a combat script is pretty hard. Remember to add a message listener in case the cows already in combat Good Idea Thank You