WoW:API SelectQuestLogEntry: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
({{wowapi}})
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(questID);
   SelectQuestLogEntry(questID);


----
==Parameters==
'''''Arguments'''''
===Arguments===
 
:;questID : Integer - The index of the quest you wish to make active.
:(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().
 


----
==Notes==
{{WoW API}}
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()).

Revision as of 12:49, 3 January 2007

WoW API < SelectQuestLogEntry

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

 SelectQuestLogEntry(questID);

Parameters

Arguments

questID
Integer - The index of the quest you wish to make active.

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