| Yoko http://forum.yoko.com.ua/ |
|
| how to grap 50 form quantity 500 and repeat http://forum.yoko.com.ua/viewtopic.php?f=3&t=16590 |
Page 1 of 1 |
| Author: | Shokarta [ 2011-05-09 22:12:11 ] |
| Post subject: | how to grap 50 form quantity 500 and repeat |
hey guys, ive got this: Code: sub grab() and what im trying to do is that if i have 500 ore and cant lift it up because it too heavy, so i want to make a script which would grab only 50 each time and repeat it... but it seem that uo.set(finddistance,2) doesnt work... It takes first 50 from pack of 500, but then its lifting those 50 from what i already moved any ideas? |
|
| Author: | Mirage [ 2011-05-10 06:41:50 ] |
| Post subject: | Re: how to grap 50 form quantity 500 and repeat |
Shokarta wrote: Code: sub grab() It takes first 50 from pack of 500, but then its lifting those 50 from what i already moved where you have a 50 ore? Only 5. you move the ore to the "ground". Change the "ground" to 'backpack' or ignore it. for example Code: sub main() |
|
| Author: | Shokarta [ 2011-05-10 11:08:53 ] |
| Post subject: | Re: how to grap 50 form quantity 500 and repeat |
ok sorry for misundertnding. So what i am trying to do is an afk mining, which would always take all iron ore with me as i move.... so imagine you have a 500 iron ore and then you do a step, so you want to take the ore but because all is too heavy you have to grap 50 ore each time... so the thing is... you have 500 ore in distance of 2 form ya, you move 50 and it drips under your legs, so now you have to same itemtypes on the ground (first is in distance of 2, another is ditance 0)... how you make the script to move the farest 1 insted of the one under your legs? if i want to explain it simply, im trying to move 500 ore from one stop to another (on the ground) by 50 each time as 500 is too heavy to grab it together |
|
| Author: | Mirage [ 2011-05-10 15:18:43 ] |
| Post subject: | Re: how to grap 50 form quantity 500 and repeat |
You can't do as you want. Search by distance identifies all objects within a radius of search, but not those who are at a given distance. The only option to move all the ore at the same time. PS I'm sorry for my mistakes in English PPS try this when will move Code: sub LootGr() |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|