Thread Tools Display Modes
01-11-21, 07:44 AM   #1
Tziera
A Defias Bandit
Join Date: Jan 2021
Posts: 2
**Answered** Which expansion a quest belongs to

Hi,

I have recently started learning to make addons for wow, and my first goal is to make an addon that can sort the quest tracker depending on which expansion the quest belongs to.

For example I might want to finish up some BfA quests, then I want the addon to filter out every other quest. But I haven't found a way to see which expansion a specific quest belongs to. Currently I have tried to find the quest with the lowest questID in an expansion and filter given that information.

If you need any more information just ask and I will do my best to answer.
Thanks!

Last edited by Tziera : 01-11-21 at 11:50 PM. Reason: Changed the title to make it clearer that the question has been answered, in case someone else would be looking for the same thing
  Reply With Quote
01-11-21, 10:29 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
While the wiki is not yet documented the function seem to exist.
Lua Code:
  1. GetQuestExpansion(questID)
https://wow.gamepedia.com/API_GetQuestExpansion
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
01-11-21, 12:09 PM   #3
Tziera
A Defias Bandit
Join Date: Jan 2021
Posts: 2
Thank you so very much Rilgamon!
This was exactly what I was looking for
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » **Answered** Which expansion a quest belongs to

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off