Fandom

WoWWiki

API EquipCursorItem

104,635pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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.

Also on Fandom

Random Wiki