WoW:API GetRewardText: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API GetRewardText to API GetRewardText without leaving a redirect) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Returns quest reward text, displayed by the NPC before the player hits "Complete Quest". | |||
Returns | GetRewardText(); | ||
---- | |||
;''Returns'' | |||
:String reward | |||
:;reward : The progress text | |||
---- | |||
;''Example'' | |||
local progress = GetRewardText(); | |||
;''Result'' | |||
"Oh dear; I was wondering why I haven't seen Iverron yet today. And I've always warned him about those spiders..." | |||
---- | |||
;''Description'' | |||
: Quest Reward texts are displayed by NPCs ready to accept the quest completion. The player can optionally choose a reward and hit the Complete Quest button to complete the quest. |
Latest revision as of 04:46, 15 August 2023
← WoW API < GetRewardText
Returns quest reward text, displayed by the NPC before the player hits "Complete Quest".
GetRewardText();
- Returns
- String reward
- reward
- The progress text
- Example
local progress = GetRewardText();
- Result
"Oh dear; I was wondering why I haven't seen Iverron yet today. And I've always warned him about those spiders..."
- Description
- Quest Reward texts are displayed by NPCs ready to accept the quest completion. The player can optionally choose a reward and hit the Complete Quest button to complete the quest.