WoW:API PickupBagFromSlot: Difference between revisions
Jump to navigation
Jump to search
PickupBagFromSlot -Documentation by Arvenis-
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
<!-- List each argument, together with its type --> | <!-- List each argument, together with its type --> | ||
:;slot | :;slot | ||
::: | ::: [[API TYPE InventorySlotID|InventorySlotID]] - the slot containing the bag. | ||
---- | ---- | ||
Revision as of 07:10, 13 July 2006
PickupBagFromSlot(slot);
- Picks up the bag from the specified slot, placing it in the cursor.
- Arguments
- (slot)
- slot
-
- InventorySlotID - the slot containing the bag.
- Returns
- Nothing.
- Details
- 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.