From Warcraft Wiki
Jump to navigation Jump to search

Returns a list of available quests from a gossip NPC. For getting the number of available quests from a non-gossip NPC see GetNumAvailableQuests.

title1, level1, isTrivial1, frequency1, isRepeatable1, isLegendary1, isIgnored1, title2, ... = GetGossipAvailableQuests()


The following seven return values are provided for each quest offered by the NPC:

string - The name of the quest.
number - The level of the quest.
boolean - true if the quest is trivial (too low-level compared to the character), false otherwise.
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.
boolean - true if the quest is repeatable, false otherwise.
boolean - true if the quest is a legendary quest, false otherwise.
boolean - true if the quest has been ignored, false otherwise.


  • Available quests are quests that the player does not yet have in their quest log.
  • This list is available after GOSSIP_SHOW has fired.

Patch changes

Battle for Azeroth Patch 8.2.5 (2019-09-24): Added questID return value.[1]
Legion Patch 7.0.3 (2016-07-19): Added isIgnored return value.[2]
Warlords of Draenor Patch 6.0.2 (2014-10-14): Changed boolean returns from 1/nil to true/false.[citation needed]  Changed isDaily return value to frequency.[3]
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added isLegendary return value.[4]

See also


  1. ^ 2019-09-24, GossipFrame.lua, 138, and 144 version, near line 20, 138, and 144, archived at Townlong-Yak
  2. ^ 2016-07-19, GossipFrame.lua, version, near line 83, archived at Townlong-Yak
  3. ^ 2014-10-14, GossipFrame.lua, version, near line 86, archived at Townlong-Yak
  4. ^ 2012-08-21, GossipFrame.lua, version, near line 78, archived at Townlong-Yak