GetQuestLogChoiceInfo

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns a bunch of data about a quest reward choice from the quest log.

name, texture, numItems, quality, isUsable = GetQuestLogChoiceInfo(itemNum)

Arguments
itemNum
number : The item number to get info on

Returns
name
string : The name of the quest item
texture
string : The texture of the quest item
numItems
number : How many of the quest item
quality
number : Quality of the quest item
isUsable
boolean : If the quest item is usable by the current player

Example
local name, texture, numItems, quality, isUsable = GetQuestLogChoiceInfo(requiredItem.type, i);
Result
"Silver Belt", ..., 1, 100, false

Description
Returns a bunch of data about a quest reward choice from the quest log.