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 GetQuestChoiceRewardCurrency

From Wowpedia
Jump to: navigation, search

Returns the currency reward of a given quest option.

currencyId, texture, quantity = GetQuestChoiceRewardCurrency(optionIndex, currencyIndex)


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


Number - currency ID of this reward currency, nil if the arguments do not correspond to a reward.
String - fragment of a texture path for this reward, e.g. "inv_misc_coin_18" for [Lesser Charm of Good Fortune].
Number - amount of this currency the quest option offers as a reward.

Patch history

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

See also