Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-22-22, 12:26 AM   #1
pasiv
A Murloc Raider
Join Date: Jul 2019
Posts: 7
Question Help with understanding PutItemInBag(23)

I'm new to lua, and I'm trying to make a tiny addon for myself that will help me manage my inventory. I'm currently trying to move items from inventory to a free bag slot, but in my testing, it seems that "PutItemInBag(23)" is not functioning at all as I had expected. "PutItemInBackpack()" works perfectly fine. So what am I missing here?

Code:
PickupInventoryItem(GetInventorySlotInfo("HEADSLOT"))
if CursorHasItem() then
   --PutItemInBackpack() -- Works fine.
   PutItemInBag(23) --! Doesn't work on beta or live, but works in wrath.
end
Forgive my noobishness, I'm super green.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Help with understanding PutItemInBag(23)


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off