WoW:API SelectQuestLogEntry: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (parameter: index -> id)
No edit summary
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
Makes a quest in the quest log the currently selected quest.
Makes a quest in the quest log the currently selected quest.
   SelectQuestLogEntry(questID);
   SelectQuestLogEntry(questLogID);


==Parameters==
==Parameters==
===Arguments===
===Arguments===
:;questID : Integer - The id of the quest you wish to make active.
:;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==
==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 questID - e.g. GetQuestLogQuestText() or QuestLogPushQuest()).
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()).

Revision as of 03:44, 17 February 2011

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()).