Returns the flags of an available quest during an NPC dialog
See also Quest functions.
Signature:
isTrivial,
frequency,
isRepeatable,
isLegendary
=
GetAvailableQuestInfo(availableIndex)
Arguments:
availableIndex
- Number of an available quest in the dialog frame; 1..GetNumAvailableQuests()
(number
)
Returns:
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 questLE_QUEST_FREQUENCY_DAILY
- Daily questLE_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
)