Yoko
http://forum.yoko.com.ua/

putting container back in original location
http://forum.yoko.com.ua/viewtopic.php?f=20&t=379
Page 1 of 1

Author:  plapeyre [ 2004-05-19 04:37:22 ]
Post subject:  putting container back in original location

i've got a working macro to steal items (not all that hard :P) but i was wondering, how you would incorporate code to put the stollen items back?

like i have a pack llama (to get my stealing up).. when i steal it.. i wanna put it back in the pack i got it from...

Author:  WeedDevil [ 2004-05-19 13:40:57 ]
Post subject: 

,setreceivingcontainer lamapack
or
,setcatchbag lamapack

Author:  Lord Ruslan Nightmare [ 2004-05-19 14:17:22 ]
Post subject: 

Too easy
I think, it's better to remember stelaed item's container (uo.containerof()) before steal it, and it's coordinats in that container (uo.getx(), uo.gety(), uo.getz()). So, after you steal it, you can put it back with one uo.moveitem() command

Author:  plapeyre [ 2004-05-19 14:57:56 ]
Post subject: 

a quick coding example?

Author:  Yoko [ 2004-05-19 21:31:19 ]
Post subject:  Re: putting container back in original location

plapeyre wrote:
i've got a working macro to steal items (not all that hard :P) but i was wondering, how you would incorporate code to put the stollen items back?

like i have a pack llama (to get my stealing up).. when i steal it.. i wanna put it back in the pack i got it from...


moveitem ITEMID -1 LLAMAID

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/