WoW:API UseInventoryItem: Difference between revisions

upgraded deprecated template
m (Return value of UseInventoryItem is always nil.)
(upgraded deprecated template)
Line 1: Line 1:
{{wowapi}}
Use an item in a specific inventory slot.
Use an item in a specific inventory slot.


Line 16: Line 17:


After patch 1.6 you cant auto-use items anymore. Addons can no longer activate items without the press of a button. In order to use UseInventoryItem( GetInventorySlotInfo("Trinket0Slot") ) you will have to call it from a button, keypress or icon as you do with spells.
After patch 1.6 you cant auto-use items anymore. Addons can no longer activate items without the press of a button. In order to use UseInventoryItem( GetInventorySlotInfo("Trinket0Slot") ) you will have to call it from a button, keypress or icon as you do with spells.
{{Template:WoW API}}
Anonymous user