Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API EquipCursorItem

From WoW Classic Wiki

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.