WoW:API SelectQuestLogEntry: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API SelectQuestLogEntry to API SelectQuestLogEntry without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>'''SelectQuestLogEntry''' ''-Documentation by Byterunner-''</center>
{{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(questLogID);


  SelectQuestLogEntry(questID);
==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.)
'''''Arguments'''''
 
:(Number questID)
 
:;'''questID''' : The quest number to make active.
 
----
'''''Returns'''''
 
:none
 
----
'''''Description'''''
 
:This function is necessary before using any functions that pull information from the quest log that are not passed a questID, such as GetQuestLogQuestText().


[[Category:API Functions|SelectQuestLogEntry]]
==Notes==
[[Category:API Quest Functions|SelectQuestLogEntry]]
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()).

Latest revision as of 04:47, 15 August 2023

WoW API < SelectQuestLogEntry

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

 SelectQuestLogEntry(questLogID);

Parameters[edit]

Arguments[edit]

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[edit]

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