API GetGossipActiveQuests

From Wowpedia
Jump to: navigation, search

Get the list of active quests from an NPC.

title1, level1, isLowLevel1, isComplete1, isLegendary1, isIgnored1, title2, level2, isLowLevel2, isComplete2, isLegendary2, isIgnored2 = GetGossipActiveQuests()

Returns

title# 
String - The name of the quest
level# 
Number - The level of the quest
isLowLevel# 
Boolean - true if the quest is low level, false otherwise
isComplete# 
Boolean - true if the quest is complete, false otherwise
isLegendary# 
Boolean - true if the quests is a legendary quest, false otherwise
isIgnored# 
Boolean - true if the quests has been ignored, false otherwise

Details

The active quests for an NPC are available after GOSSIP_SHOW has fired.

Patch changes

  • Legion Patch 7.0.3 (2016-07-19): Added isIgnopred return value. The number of returned values per quest has increased again to 6
  • Mists of Pandaria Patch 5.0.4 (2012-08-28): Added isLegendary return value. Therefore, the number of returned values per quest has increased to 5!