WoW:API GetQuestReward: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
Gets the quest reward specified.
Completes the quest with the specified quest reward.
 
Warning: Since making a choice here is irrevocable, use with caution.


  GetQuestReward(itemChoice);
  GetQuestReward(itemChoice);

Revision as of 11:09, 10 January 2007

WoW API < GetQuestReward

Completes the quest with the specified quest reward.

Warning: Since making a choice here is irrevocable, use with caution.

GetQuestReward(itemChoice);

Arguments
(Number itemChoice)
itemChoice
The quest reward chosen

Returns
nil

Example
GetQuestReward(QuestFrameRewardPanel.itemChoice);
Result

Description
Gets the quest reward specified.