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...
putting container back in original location
Moderators: Murderator+, Murderator
putting container back in original location
i've got a working macro to steal items (not all that hard
) 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...
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...
no sig
-
Lord Ruslan Nightmare
- Expert!
- Posts: 359
- Joined: 2004-04-25 11:11:07
- Contact:
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
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
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...
А без пруда не выловишь её и с трудом...
Re: putting container back in original location
plapeyre wrote:i've got a working macro to steal items (not all that hard) 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