WoW:API PickupBagFromSlot: Difference between revisions
mNo edit summary |
m (Move page script moved page API PickupBagFromSlot to API PickupBagFromSlot without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 9: | Line 9: | ||
* Valid slot numbers are 20-23, numbered from left to right starting after the backpack. | * Valid slot numbers are 20-23, numbered from left to right starting after the backpack. | ||
* inventoryID ,the result of [[API ContainerIDToInventoryID|ContainerIDtoInventoryID(BagID)]], can help to compute the slot number and bag numbers can be viewed in the [[API TYPE InventorySlotID|InventorySlotID]] page. | * inventoryID ,the result of [[API ContainerIDToInventoryID|ContainerIDtoInventoryID(BagID)]], can help to compute the slot number and bag numbers can be viewed in the [[API TYPE InventorySlotID|InventorySlotID]] page. | ||
* [[API PickupInventoryItem|PickupInventoryItem(slot)]] can be used as well. | |||
Latest revision as of 04:47, 15 August 2023
Picks up the bag from the specified slot, placing it in the cursor.
PickupBagFromSlot(slot);
Arguments
- slot
- InventorySlotID - the slot containing the bag.
Notes
- Valid slot numbers are 20-23, numbered from left to right starting after the backpack.
- inventoryID ,the result of ContainerIDtoInventoryID(BagID), can help to compute the slot number and bag numbers can be viewed in the InventorySlotID page.
- PickupInventoryItem(slot) can be used as well.