GetItemTotalCount
I am not understanding why that works with BAG_BACKPACK but not with BAG_BANK. If I use GetItemTotalCount(BAG_BACKPACK, slotId), I get the count, but GetItemTotalCount(BAG_BANK, slotId) gives me 0 even though items are in the bank. Can someone help me please. Thank you.
|
I'm not sure about this function, but if you want to know how many items are in stack, you can use:
Lua Code:
EDIT: Also what can be useful is inventory manager. You are working with bank so: Lua Code:
item.bagId item.equipType item.filterData item.iconFile item.inventory item.isJunk item.itemInstanceId item.locked item.meetsUsageRequirement item.quality item.searchData item.sellPrice item.slotIndex item.slotType item.stackCount item.stackSellPrice item.statValue |
Quote:
In the bank they are not necessarily consecutively and can start with an (more or less) arbitrary number. |
All times are GMT -6. The time now is 03:08 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI