WoW:API AutoEquipCursorItem: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
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).