Hey there,
currently I am looking for a macro function that would allow me to move an item from inventory to chest.
Yet I know about PickUpBagItem - which ususally works fine if it comes to move items between bank and inventory.
Do you have any suggestion?
Greetings
HouseStorage (Chest) Macro
-
- Posts: 23
- Joined: Tue Sep 18, 2012 6:25 pm
Re: HouseStorage (Chest) Macro
Problem solved,
PickupBagItem had the wrong index
mea culpa
PickupBagItem had the wrong index
mea culpa
Re: HouseStorage (Chest) Macro
Ok, here are the functions I think you need to know.
This function comes in 2 forms. The first one just gives you some extra info about the furniture and the second one gives you the actual info about items in the furniture. Note: "ID" is the id gotten from the first command.
Once you know which furnature and which slot you are going to use you use the following command to pick up or put down in that position
That's all that's needed to find a slot and use it but it still requires some programming. Probably we should make some functions that simplify it, maybe a userfunction.
- local enable, name, texture, Placed, ID = Houses_GetFurnitureItemInfo( FurnitureSlot );
- local maxItems, StorageName, FurnitureSlot = Houses_GetItemInfo( ID , -1 );
- local texture, name, itemCount, locked, quality = Houses_GetItemInfo( ID, ItemSlot );
This function comes in 2 forms. The first one just gives you some extra info about the furniture and the second one gives you the actual info about items in the furniture. Note: "ID" is the id gotten from the first command.
Once you know which furnature and which slot you are going to use you use the following command to pick up or put down in that position
- Houses_PickupItem( ID , ItemSlot );
That's all that's needed to find a slot and use it but it still requires some programming. Probably we should make some functions that simplify it, maybe a userfunction.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Who is online
Users browsing this forum: No registered users and 2 guests