WoW:API UseInventoryItem: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 1: Line 1:
Use an item in a specific inventory slot.


=== Syntax ===
UseInventoryItem( slotID );
=== Arguments ===
:;slotID :The inventory slot ID
:You can get the slot ID by using [[API GetInventorySlotInfo|GetInventorySlotInfo(slot)]]
=== Example===
:/script UseInventoryItem( GetInventorySlotInfo("Trinket0Slot") );
Anonymous user