Wikia

WoWWiki

API EquipCursorItem

Talk0
102,084pages on
this wiki
Revision as of 22:12, June 22, 2006 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < EquipCursorItem

Equips the currently picked up item to a specific inventory slot.

EquipCursorItem(slot);

Parameters Edit

Arguments Edit

slot 
Numric - The slot ID to place the item into. Use GetInventorySlotInfo(slotname) to resolve an inventory slot name to its ID.

ExampleEdit

EquipCursorItem(GetInventorySlotInfo("HEADSLOT"));

ResultEdit

Attempts to equip the currently picked up item to the head slot.

Around Wikia's network

Random Wiki