Returns quest information about an item in the player's bags


See also Container functions, Quest functions.

Signature:

isQuest, questId, isActive = GetContainerItemQuestInfo(container, slot)

Arguments:

  • container - Index of one of the player's bags or other containers (number, containerID)
  • slot - Index of an item slot within the container (number, containerSlotID)

Returns:

  • isQuest - true if the item is a quest item, nil otherwise. (boolean)
  • questId - ID of the quest started by the item, nil if the item does not start a quest. (number)
  • isActive - 1 if the quest started by the item is in the player's quest log, nil otherwise. (1nil)