Returns the name of a quest which can be turned in to the current Quest NPC. Only returns valid information after a QUEST_GREETING event.
Note: Most quest NPCs present active quests using the GetGossipActiveQuests() instead of this function.
See also Quest functions.
Signature:
title = GetActiveTitle(index)
Arguments:
index- Index of a quest which can be turned in to the current Quest NPC (between 1 andGetNumActiveQuests()) (number)
Returns:
title- Title of the quest (string)