WoW API: SelectQuestLogEntry

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API SelectQuestLogEntry to API SelectQuestLogEntry without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < SelectQuestLogEntry

Makes a quest in the quest log the currently selected quest.

 SelectQuestLogEntry(questLogID);

Parameters

Arguments

questLogID
Integer - The index of the quest you wish to make active, between 1 and GetNumQuestLogEntries()'s first return value. (This is not the ID as used in QuestStrings.)

Notes

This function is equivalent to clicking the quest name in the quest log, and is necessary before using any functions that depend on a quest being selected (not passed a questLogID - e.g. GetQuestLogQuestText() or QuestLogPushQuest()).