Quest Completed Macro?

Quest Completed Macro?

by Bartolo » Sat Oct 31, 2015 11:39 am

Hi.

I've been trying to make a macro to see if I have completed the quest 1115, 1116 and 1117.

I'm having problems, it seems IsQuestCompleted is not working. The functions is always returning "nil".

Code: Select all
/run  IsQuestFlaggedCompleted(1115)


Is there any other function to see the completed quest?
User avatar
Bartolo
Senior Sergeant
Senior Sergeant
 

Re: Quest Completed Macro?

by Rhena » Sat Oct 31, 2015 5:07 pm

That functionality was introduced in TBC. There is no way in vanilla to ask the server about completed quests. An addon would have to track every completed quest like questie does.
Author of LunaUnitFrames - The most advanced unit frames for classic WoW. Visit my GitHub page for them and some other tools i wrote.
Rhyna - Warrior | Nost PvP | Alliance
User avatar
Rhena
Sergeant Major
Sergeant Major
 

Re: Quest Completed Macro?

by EinBaum » Sat Oct 31, 2015 8:05 pm

You can probably use this:

http://wowwiki.wikia.com/wiki/API_GetQu ... did=500707

Loop through all quests, compare the quest titles with your quests and check if they are completed using this function.


Edit: What I posted only checks if the quest is completed but still in your quest log. I guess you want something else so nevermind then...
User avatar
EinBaum
Sergeant
Sergeant
 

Re: Quest Completed Macro?

by Bartolo » Sun Nov 01, 2015 3:23 pm

Yes I wanted the macro to work on quests not in my questlog.

Ok guys, thanks for the info.
User avatar
Bartolo
Senior Sergeant
Senior Sergeant
 


Return to Addons & macros