Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API IsInventoryItemLocked

Last wiki revision 2022-07-21

Returns whether an inventory item is locked, usually as it awaits pending action.

isLocked = IsInventoryItemLocked(slotId)

  • Arguments
  • slotId: - The slot ID used to refer to that slot in the other GetInventory functions.
  • Returns
  • isLocked: - 1 if the slot is locked, nil otherwise

Notes

  • PickupInventoryItem on an empty slot will not lock that slot.
  • PickupInventoryItem on the ammo slot will not lock that slot.

Source

https://warcraft.wiki.gg/wiki/API_IsInventoryItemLocked · 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.