Activate (as with right-clicking) an equipped item. If the inventoryID
passed refers to an empty slot or a slot containing an item without a "Use:" action, this function is not protected (i.e. usable only by the Blizzard UI), but also has no effect.
See also Inventory functions.
Signature:
UseInventoryItem(slot)
Arguments:
slot
- An inventory slot number, as can be obtained fromGetInventorySlotInfo
(number
, inventoryID)
This function is protected and can only be called by the Blizzard user interface