Wowpedia
Advertisement
Wowpedia
234,753
pages
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

Returns information about a quest's item rewards or requirements.

name, texture, count, quality, isUsable = 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 - Item name.
texture 
string - Item icon texture.
count 
number - amount of the item required or awarded by the quest.
quality 
number - Item quality.
isUsable 
boolean - 1 if the quest item is usable by the current player, nil otherwise.

Details

See also

Advertisement