WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Achievement CriteriaID check macro (for BfA) (https://www.wowinterface.com/forums/showthread.php?t=56277)

Voxxel 06-11-18 09:35 AM

Achievement CriteriaID check macro (for BfA)
 
I'm looking for a macro to print achievement criteriaIDs for meta progression achievement such as zone questing progress, for example: Azsuna Matata.

I'd love a result of printing something like this:
Quote:

Behind Legion Lines - true
Defending Azurewing Repose - true
Azsuna versus Azshara - false
Against the Giants - false
Mak'rana and the Fate of the Queen's Reprisal - true
The criteriaIDs in this meta are: 31300, 31301, 31302, 31303. I couldn't find the last ID for "mak'rana" criteria probably because it requires more than 1 quest to complete and the in-game panel shows "0" for that.

Is it possible to print by a macro?

elcius 06-11-18 11:40 AM

Code:

for i=1,GetAchievementNumCriteria(12497)do
        local t,_,c=GetAchievementCriteriaInfo(12497,i)
        print(t,'- \124cFF'..(c and'88FF88true'or'FF8888false'))
end

https://github.com/tomrus88/Blizzard...rame.lua#L1036

Voxxel 06-11-18 03:34 PM

Works like a charm, thanks a lot, elcius!


All times are GMT -6. The time now is 01:03 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI