WoW:API EquipCursorItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (result)
m (Move page script moved page API EquipCursorItem to API EquipCursorItem without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

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.

Example[edit]

EquipCursorItem(GetInventorySlotInfo("HEADSLOT"));

Result[edit]

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