Returns the number of items stacked in an inventory slot.
Currently only returns meaningful information for the ammo slot.
See also Inventory functions.
Signature:
count = GetInventoryItemCount("unit", slot)
Arguments:
unit- A unit to query; only valid for 'player' or the unit currently being inspected (string, unitID)slot- An inventory slot number, as can be obtained fromGetInventorySlotInfo(number, inventoryID)
Returns:
count- The amount of items stacked in the inventory slot (number)