FANDOM


m (fixed parameter name)
Line 19: Line 19:
 
:;done : Boolean - ''nil'' if this sub objective is not completed yet, else 1
 
:;done : Boolean - ''nil'' if this sub objective is not completed yet, else 1
   
[[Category:API Functions|GetQuestLogLeaderBoard]]
+
[[Category:API Quest Functions|GetQuestLogLeaderBoard]]
+
----
  +
{{WoW API}}

Revision as of 06:04, January 4, 2006

This function returns up to 3 values:

local desc, type, done = GetQuestLogLeaderBoard(i, [questID])

Arguments
Index of the quests objectives (see GetNumQuestLeaderBoards() ).
questID 
Identifier of the quest. If not provided, default to the currently selected Quest, via SelectQuestLogEntry().

Return values
desc 
String - The text description of the objective, like: "Kill foo: 0/3"
type 
String - could be the following things: "item" or "monster".
done 
Boolean - nil if this sub objective is not completed yet, else 1



Template:WoW API

Community content is available under CC-BY-SA unless otherwise noted.