Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns a list of active quests from a gossip NPC. For getting the number of active quests from a non-gossip NPC see GetNumActiveQuests.
title1, level1, isLowLevel1, isComplete1, isLegendary1, isIgnored1, title2, ... = GetGossipActiveQuests()
Returns[]
The following six return values are provided for each active quest:
- 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[]
Patch 8.2.5 (2019-09-24): Added questID
return value, increasing the number of returns to seven per active quest.[1]
Patch 7.0.3 (2016-07-19): Added isIgnored
return value, increasing the number of returns to six per active quest.[2]
Patch 5.0.4 (2012-08-28): Added isLegendary
return value, increasing the number of returns to five per active quest.[3]
See also[]
References[]
- ^ 2019-09-24, GossipFrame.lua, version 8.2.5.31960, near line 165, archived at Townlong-Yak
- ^ 2016-07-19, GossipFrame.lua, version 7.0.3.22267, near line 129, archived at Townlong-Yak
- ^ 2012-08-21, GossipFrame.lua, version 5.0.4.16016, near line 125, archived at Townlong-Yak