WoW:API EquipCursorItem: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
<br> | <br> | ||
''Last edited 8/31/05 by Popoi'' | ''Last edited 8/31/05 by Popoi'' | ||
{{template:WoW API}} |
Revision as of 17:46, 30 December 2005
Function
EquipCursorItem( <number> );
Parameters
<number> : Slot to be equipped in (see notes).
Return
Unknown
Notes
This function will equip the item that has been 'picked up' and is held by the cursor. The <number> parameter seems to be similar to PickupInventoryItem(index), but seems to be one off from it:
0 = head, 1 = neck, 2 = shoulder, 3 = shirt, 4 = chest, 5 = belt, 6 = legs, 7 = feet, 8 = wrist, 9 = gloves, 10 = finger 1, 11 = finger 2, 12 = trinket 1, 13 = trinket 2, 14 = back, 15 = main hand, 16 = off hand, 17 = ranged
Furthermore:
18 - 22 = UNKNOWN
23 = Backpack slot 1
...
38 = Backpack slot 16
39 = Bank slot 1
...
Last edited 8/31/05 by Popoi