opafmoremedic Posted August 27, 2020 Share Posted August 27, 2020 Hey, everyone. I'm brand new to scripting, this is only my second or third day. I made a woodcutting script (with a little help on conditional sleeping form you guys) that can successfully cut logs and drop them. However, since I'm stubborn, I'm trying to improve on my skills and improve said script. I wanted to make the new script be able to bank on a full inventory, then run back to a designated area (using the cow field north of the lumby castle, for sake of an area away from muggers). I'm at a point where, with a full inventory I can run to the gate, open said gate, but then my player won't move past that. I'm genuinely confused as to why not. Could someone point me in the right direction? This is my code so far. Quote Link to comment Share on other sites More sharing options...
BravoTaco Posted August 27, 2020 Share Posted August 27, 2020 (edited) 12 minutes ago, opafmoremedic said: Hey, everyone. I'm brand new to scripting, this is only my second or third day. I made a woodcutting script (with a little help on conditional sleeping form you guys) that can successfully cut logs and drop them. However, since I'm stubborn, I'm trying to improve on my skills and improve said script. I wanted to make the new script be able to bank on a full inventory, then run back to a designated area (using the cow field north of the lumby castle, for sake of an area away from muggers). I'm at a point where, with a full inventory I can run to the gate, open said gate, but then my player won't move past that. I'm genuinely confused as to why not. Could someone point me in the right direction? This is my code so far. No need to create your own walking method. Use the WebWalker instead. getWalking().webWalk(Banks.LUMBRIDGE_UPPER); You can also give the WebWalker a Position, Position[], Area, or an Area[]. It will choose the closest destination if given an array. Edited August 27, 2020 by BravoTaco Quote Link to comment Share on other sites More sharing options...
opafmoremedic Posted August 27, 2020 Author Share Posted August 27, 2020 26 minutes ago, BravoTaco said: No need to create your own walking method. Use the WebWalker instead. getWalking().webWalk(Banks.LUMBRIDGE_UPPER); You can also give the WebWalker a Position, Position[], Area, or an Area[]. It will choose the closest destination if given an array. Oh, what? Will this automatically go up the stairs and everything? Thanks a bunch! Quote Link to comment Share on other sites More sharing options...
BravoTaco Posted August 27, 2020 Share Posted August 27, 2020 3 hours ago, opafmoremedic said: Oh, what? Will this automatically go up the stairs and everything? Thanks a bunch! Yeah, the WebWalker will do a bunch of stuff to get from point A to point B. Take a look at WebWalkEvent in the API. Heres the link. WebWalkEvent API Quote Link to comment Share on other sites More sharing options...