Wowpedia

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

READ MORE

Wowpedia
Advertisement

Returns info for an available quest.

isTrivial, frequency, isRepeatable, isLegendary, questID = GetAvailableQuestInfo(index)

Arguments[]

index
number - Index of the available quest to query, starting from 1.

Returns[]

isTrivial
boolean - true if the quest is trivial (too low-level compared to the character), false otherwise.
frequency
number - 1 if the quest is a normal quest, LE_QUEST_FREQUENCY_DAILY (2) for daily quests, LE_QUEST_FREQUENCY_WEEKLY (3) for weekly quests.
isRepeatable
boolean - true if the quest is repeatable, false otherwise.
isLegendary
boolean - true if the quest is a legendary quest, false otherwise.
questID
number - quest ID of the quest.

Patch changes[]

Shadowlands Patch 9.0.1 (2020-10-13): Added questID return value.[1]
Warlords of Draenor Patch 6.0.2 (2014-10-14): Changed 1/nil return values to boolean. Changed isDaily return value to frequency.
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added isLegendary return value.
Wrath-Logo-Small Patch 3.3.3 (2010-03-23): Added.

References[]

 
  1. ^ 2020-10-13, QuestFrame.lua, version 9.0.1.36230, near line 363, archived at Townlong-Yak
Advertisement