Fandom

WoWWiki

API GetNumQuestLogEntries

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetNumQuestLogEntries

Returns the number of entries in the quest log.

numEntries, numQuests = GetNumQuestLogEntries();

ParametersEdit

ReturnsEdit

numEntries
Integer - Number of entries in the Quest Log (includes collapsable area grouping headlines).
numQuests
Integer - Number of actual quests.

Example Edit

local numEntries, numQuests = GetNumQuestLogEntries()
DEFAULT_CHAT_FRAME:AddMessage(numEntries .. " entries containing " .. numQuests .. " quests in your quest log.");

ResultEdit

Displays the number of visible entries (headers and non-collapsed quests) in the quest log and quest count total to the default chat frame.
Warning - numEntries does not count collapsed quests, ie. if all headers are collapsed, numEntries will be zero! numQuests returns the number of quests in the quest log whether they are collapsed or not.

Also on Fandom

Random Wiki