GetRewardText

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns quest reward text, displayed by the NPC before the player hits "Complete Quest".

reward = GetRewardText()

Returns
reward
string : 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.