WoW API: EquipCursorItem

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API EquipCursorItem to API EquipCursorItem without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < EquipCursorItem

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

EquipCursorItem(slot);

Parameters

Arguments

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

Example

EquipCursorItem(GetInventorySlotInfo("HEADSLOT"));

Result

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