m
Move page script moved page API PickupInventoryItem to WoW:API PickupInventoryItem without leaving a redirect
m (User-controlled Bot: table syntax updated) |
m (Move page script moved page API PickupInventoryItem to WoW:API PickupInventoryItem without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
PickupInventoryItem(slotId) | PickupInventoryItem(slotId) | ||
"Picks up" an item from the player's worn inventory. | "Picks up" an item from the player's worn inventory. This appears to be a kind of catch-all "pick up/activate" function. | ||
---- | ---- | ||
| Line 83: | Line 83: | ||
/script PickupInventoryItem(GetInventorySlotInfo("SecondaryHandSlot")) | /script PickupInventoryItem(GetInventorySlotInfo("SecondaryHandSlot")) | ||
The above attempts a main- | The above attempts a main hand/off-hand weapon swap. It will pick up the weapon from the main hand and then pick up the weapon from the off-hand, attempting to equip the main hand weapon to off-hand and sending the off-hand to main hand if possible. | ||
---- | ---- | ||
{{wowapi}} | {{wowapi}} | ||