Chooses a quest available from the current Quest NPC. Causes the QUEST_DETAIL event to fire, in which the questgiver presents the player with the details of a quest and the option to accept or decline.

Note: Most quest NPCs present available quests using the GetGossipAvailableQuests() instead of this function.


See also Quest functions.

Signature:

SelectAvailableQuest(index)

Arguments: