WoW:API GetQuestReward: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GetQuestReward to API GetQuestReward without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''GetQuestReward''' ''-Documentation by AlexanderYoshi-''</center>
{{wowapi}}
Completes the quest with the specified quest reward.


Gets the quest reward specified.
Warning: Since making a choice here is irrevocable, use with caution.


  GetQuestReward(itemChoice);
  GetQuestReward(itemChoice);
Line 27: Line 28:


: Gets the quest reward specified.
: Gets the quest reward specified.
----
{{WoW API}}

Latest revision as of 04:46, 15 August 2023

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.