WoW:API AutoEquipCursorItem: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API AutoEquipCursorItem to API AutoEquipCursorItem without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
 
Automatically equips the item currently held on the cursor.
Automatically equips the item currently held on the cursor.
  AutoEquipCursorItem();
 
  AutoEquipCursorItem()


==Example==
==Example==
  PickupContainerItem(0,1);
  PickupContainerItem(0, 1)
  AutoEquipCursorItem();
  AutoEquipCursorItem()
===Result===
 
;Result
Equips the first item in your backpack to the relevant slot (if it can be equipped).
Equips the first item in your backpack to the relevant slot (if it can be equipped).

Latest revision as of 04:45, 15 August 2023

WoW API < AutoEquipCursorItem

Automatically equips the item currently held on the cursor.

AutoEquipCursorItem()

Example[edit]

PickupContainerItem(0, 1)
AutoEquipCursorItem()
Result

Equips the first item in your backpack to the relevant slot (if it can be equipped).