| Yoko http://forum.yoko.com.ua/ |
|
| Getting item out of stack of items http://forum.yoko.com.ua/viewtopic.php?f=20&t=599 |
Page 1 of 1 |
| Author: | Proky [ 2004-06-18 17:55:19 ] |
| Post subject: | Getting item out of stack of items |
Hi, What I want to do is grab an item out of a stack and then perform an action on the item. eg: stack of 50 cloths, get one cloth out of stack, chop that cloth. I can do everything except get the single item from the group. Any help would be great. Thanks Proky |
|
| Author: | Yoko [ 2004-06-18 21:46:56 ] |
| Post subject: | |
,grab 1 ~0x1234 where cloth on floor, type of it 0x1234 |
|
| Author: | Proky [ 2004-06-19 15:02:41 ] |
| Post subject: | Resultent function |
Thanks thats wha I needed: sub ChopBandages() var vCloths = '0x1765' var vBag1 = '0x62525a03' var vMainBag = '0x6272e8d4' var vClothPile = '0x62754b4d' var vScissors = '0x0f9e' while uo.count(vCloths) > 0 uo.findtype(vCloths,-1,vBag1) uo.grab (STR(1),'finditem') uo.usetype(vScissors) UO.WaitTargetObject('finditem') wait (10000) wend end sub |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|