Originally Posted by Rhyono
This will loop through the craft bag and spit out every item's item link. Obviously if you want do something else with the data, change the d() line.
lua Code:
for index, data in pairs(SHARED_INVENTORY.bagCache[BAG_VIRTUAL])do if data ~= nil then d(GetItemLink(BAG_VIRTUAL,data.slotIndex)) end end
|
Thank you!
I was wondering if it had something to do with the BAG_VIRTUAL.
That's exactly what I need! Thanks