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 and GetNumActiveQuests()) (number)

Returns:

  • title - Title of the quest (string)