EquipCursorItem

From Warcraft Wiki
Jump to navigation Jump to search

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

EquipCursorItem(slot)

Parameters

Arguments

slot
number - The InventorySlotId to place the item into.

Example

EquipCursorItem(GetInventorySlotInfo("HEADSLOT"));

Result

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