Returns the name of a quest available from the current Quest NPC. Only returns valid information after a QUEST_GREETING
event.
Note: Most quest NPCs present available quests using the GetGossipAvailableQuests()
instead of this function.
See also Quest functions.
Signature:
title
=
GetAvailableTitle(index)
Arguments:
index
- Index of a quest available from the current Quest NPC (between 1 andGetNumAvailableQuests()
) (number
)
Returns:
title
- Title of the quest (string
)