WoW:API PickupBagFromSlot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| 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. | |||
Revision as of 20:45, 5 July 2013
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.