| Yoko http://forum.yoko.com.ua/ |
|
| drop? http://forum.yoko.com.ua/viewtopic.php?f=3&t=321 |
Page 1 of 1 |
| Author: | clagio [ 2004-05-11 21:43:09 ] |
| Post subject: | drop? |
i want to make a script to use the trapped pouchs in my bag. the problem is that if i use ,usetype pouch it use only one pouch, and the second time i use the macro, it use always the same pouch.. there's a way to use another pouch? i thought to drop my last used object,but i don't know how can i do.. Thanks |
|
| Author: | clagio [ 2004-05-12 16:33:18 ] |
| Post subject: | |
no one can help me? i try to launch first: ,usetype pouch ,drop //now i have the target but i don't know how can i point to the last used object i think waittargettype, but it doesn't work.. and if i put "lastobject" it open my pouch, don't target it |
|
| Author: | Lord Ruslan Nightmare [ 2004-05-14 13:58:15 ] |
| Post subject: | |
uo.findtype("paste here pouch's type") if uo.findcount() then uo.useobject("finditem") uo.drop("1",str(uo.getx()),str(uo.gety()),str(uo.getz()),"finditem") endif |
|
| Author: | clagio [ 2004-05-15 12:26:29 ] |
| Post subject: | |
thank's very much it's working |
|
| Author: | clagio [ 2004-05-15 12:34:04 ] |
| Post subject: | |
only one more question, it works only if i have all the pouch in my backpack, how can i use the pouch inside another bag, always in my backpack? |
|
| Author: | Lord Ruslan Nightmare [ 2004-05-15 15:58:51 ] |
| Post subject: | |
uo.findtype("paste here pouch's type") if you make uo.findtype("paste here pouch's type","-1","container's ID") script will search pouch in this container. You can also use something like var pouch = uo.getserial("_LKF") to obtain serial of pouch, what is in your backpack or in subcontainers of backpack |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|