Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
mNo edit summary
Line 39: Line 39:
 
----
 
----
 
{{Template:WoW API}}
 
{{Template:WoW API}}
  +
[[Category:API Functions|GetQuestLogTitle]]
  +
[[Category:API Quest Functions|GetQuestLogTitle]]

Revision as of 15:10, 27 August 2005

GetQuestLogTitle -Documentation by AlexanderYoshi-

Returns the string and other information which is associated with the specific QuestLog Title in the game.

GetQuestLogTitle(questID);

Arguments
(Number questID)
questID
The quest number to get the title of

Returns
questTitle(String)
The title of the quest
level(Number)
The level of the quest
questTag(String)
Should be "Elite" if it's an elite quest and nil otherwise
isHeader(boolean)
True if this quest is a header.
isCollapsed(boolean)
True if this quest is a header and is collapsed.
isComplete(boolean)
True if this quest is not a header and is complete.

Example
local questTitle = GetQuestLogTitle(1);
Result
"Leprechaun Assault"
Example from QuestLogFrame.lua
local questLogTitleText, level, questTag, isHeader, isCollapsed, isComplete = GetQuestLogTitle(questIndex);

Description
Returns the string which is associated with the specific QuestLog Title in the game. Also returns other information about a given quest such as what it's level is, completion status, whether it's a header and if so if it is collapsed.

Template:WoW API