Lore archive · Warcraft Wiki, 2023 dump
API PutItemInBag
Last wiki revision 2022-07-21
Places the item on the cursor into the specified bag slot. PutItemInBag(slotId)
- slotId: - Inventory slot id containing the bag in which you wish to put the item. Values 20 to 23 correspond to the player's bag slots, right-to-left from the first bag after the backpack.
- Puts the item on the cursor into the specified bag slot on the main bar, if it's a bag. Otherwise, attempts to place the item inside the bag in that slot. Note that to place an item in the backpack, you must use PutItemInBackpack.
The following put the item on the cursor (if it's not a bag) into the first bag (not including backpack) starting from the right. PutItemInBag(20)
Source
https://warcraft.wiki.gg/wiki/API_PutItemInBag · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.