This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Trying to rearrange inventory in bags
Post Reply
Return to board index
Post by
sendar
Hi,
I am trying to move items (soulstone and healthstone) in inventory.
I would like to move them from where they get put when I cast them to a specific bag (bag slot 2, as bag slot 4 is soul bag, bag slot 3 is herb bag)
I tried to use
/run PickupItem("id number for soulstone") end
/run PutItemInBag(2) end
Which picked the item up, but never put it down.
I removed the first end and the second /run and it gave me an incomprehensible error message.
Any ideas ?
Post by
wigg1es
Get a bag addon with a sorting function.
The two that immediately come to mind are ArkInventory and Baggins. I recommend Baggins.
Post by
327381
This post was from a user who has deleted their account.
Post by
Wanderingfox
/run PickupItem(36895) PutItemInBag(21)
Is what you're looking for, I believe.
Post by
sendar
Closer, but still not working ... seems to be that PickupItem is for "Actions" rather than for inventory swaping. Might have to put a couple loops into it to check bags for the item and then PickupContainerItem(bag,slot) then PutItemInBag(21)
Thanks for pointing out that PutItemInBag used inventoryID not bagID though.
Post by
Wanderingfox
The only issue with that is that I believe you'll have to loop through your bags and your backpack separately...
Post by
Wildhorn
The only issue with that is that I believe you'll have to loop through your bags and your backpack separately...
No. Backpack can be called with the backpack function but also from container function.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.