Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns info for a required/reward/choice quest item.
name, texture, count, quality, isUsable, itemID = GetQuestItemInfo(type, index)
Arguments[]
- type
- string - type of the item to query. One of the following values:
- "required": Items the quest requires the player to gather.
- "reward": Unconditional quest rewards.
- "choice": One of the possible quest rewards.
- index
- number - index of the item of the specified type to return information about, ascending from 1.
Returns[]
- name
- string - The item's name.
- texture
- number : FileID - The item's icon texture.
- count
- number - Amount of the item required or awarded by the quest.
- quality
- Enum.ItemQuality🔗
- isUsable
- boolean - True if the quest item is usable by the current player.
- itemID
- number - The item's ID.
Details[]
- This function returns information about the current quest: the one for which the
QUEST_*
family of events has fired most recently. Quests in the quest log use GetQuestLogRewardInfo and GetQuestLogChoiceInfo.
Patch changes[]
Patch 9.0.2 (2020-11-17): Added itemID
return.[1]