Returns the flags of an available quest during an NPC dialog

See also Quest functions.


isTrivial, frequency, isRepeatable, isLegendary = GetAvailableQuestInfo(availableIndex)



  • isTrivial - True if the quest is trivial (gray), false otherwise. (boolean)

  • frequency - A number indicating how often the quest can be repeated. (number)

    • 1 - Normal quest
    • LE_QUEST_FREQUENCY_DAILY - Daily quest
    • LE_QUEST_FREQUENCY_WEEKLY - Weekly quest

  • isRepeatable - True if the quest is repeatable, false otherwise. (boolean)

  • isLegendary - True if the quest is a legendary quest, false otherwise. (boolean)