WoW:API PickupBagFromSlot: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
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  
::: Integer - the slot containing the bag.
::: [[API TYPE InventorySlotID|InventorySlotID]] - the slot containing the bag.


----
----

Revision as of 07:10, 13 July 2006

PickupBagFromSlot -Documentation by Arvenis-


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.

Template:WoW API