Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API PickupBagFromSlot

From Wowpedia
Jump to: navigation, search

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.