Lore archive · Warcraft Wiki, 2023 dump
API GetQuestItemInfo
Last wiki revision 2023-01-11
Returns info for a required/reward/choice quest item. name, texture, count, quality, isUsable, itemID = GetQuestItemInfo(type, index)
- type: - 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: - index of the item of the specified type to return information about, ascending from 1.
- name: - The item's name.
- texture: : FileID - The item's icon texture.
- count: - Amount of the item required or awarded by the quest.
- quality:
- isUsable: - True if the quest item is usable by the current player.
- itemID: - The item's ID.
- This function returns information about the current quest: the one for which the family of events has fired most recently. Quests in the quest log use and.
Source
https://warcraft.wiki.gg/wiki/API_GetQuestItemInfo · 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.