Returns the title awarded when completing a quest.
Only valid when the questgiver UI is showing the accept/decline or completion stages of a quest dialog (between the QUEST_DETAIL
and QUEST_FINISHED
events, or between the QUEST_COMPLETE
and QUEST_FINISHED
events); otherwise may return nil or a value from the most recently displayed quest.
See also Quest functions.
Signature:
title
=
GetRewardTitle()
Returns:
title
- The title to be awarded, or nil if the quest does not reward a title (string
)