Wikia

WoWWiki

API GetRewardText

Talk0
102,225pages on
this wiki
Revision as of 06:42, August 3, 2009 by Babuca (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Around Wikia's network

Random Wiki