Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetQuestChoiceRewardItem

From Wowpedia
Jump to: navigation, search

Returns the item reward of a given quest option.

itemID, itemName, texture, quantity = GetQuestChoiceRewardItem(optionIndex, itemIndex)

Arguments

optionIndex 
Number - index of the quest choice option to return information about, ascending from 1.
itemIndex 
Number - index of the item reward to return information about, ascending from 1.

Returns

itemID 
Number - item ID of the item being offered as a reward.
itemName 
String - name of the item being offered as a reward.
texture 
String - full path to the item icon texture.
quantity 
Number - amount of this item the quest option offers as a reward.

Patch history

Mists of Pandaria Patch 5.2.0 (2013-03-05): Added.

See also