WoW:API EquipItemByName: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
{{wowapi}}__NOTOC__
{{wowapi}}
 
<center>'''EquipItemByName''' - ''Documentation by L'ombra''</center>


Equips an item by its name, optionally into a specified slot.
Equips an item by its name, optionally into a specified slot.

Revision as of 16:25, 4 December 2007

WoW API < EquipItemByName

Equips an item by its name, optionally into a specified slot.

Parameters

Arguments

"name"
String - The name of the item, ie "Worn Dagger". Partial names are valid inputs as well, ie "Worn". If several items with same piece of name exists, the first one found will be equipped.
slot
Numeric - (optional) - The inventory slot to put the item in, obtained via GetInventorySlotInfo.