PickupBagFromSlot

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0

Picks up the bag from the specified slot, placing it in the cursor.

PickupBagFromSlot(slot)

Arguments

slot
InventorySlotID - the slot containing the bag.

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.