WoW:API PickupBagFromSlot: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
Picks up the bag from the specified slot, placing it in the cursor. | |||
PickupBagFromSlot(slot); | PickupBagFromSlot(slot); | ||
==Arguments== | |||
;slot : [[API TYPE InventorySlotID|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 [[API ContainerIDToInventoryID|ContainerIDtoInventoryID(BagID)]], can help to compute the slot number and bag numbers can be viewed in the [[API TYPE InventorySlotID|InventorySlotID]] page. | |||
Revision as of 10:13, 22 February 2010
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.