Thread Tools Display Modes
06-11-18, 09:35 AM   #1
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 193
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:
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?
  Reply With Quote
06-11-18, 11:40 AM   #2
elcius
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Sep 2011
Posts: 75
Post

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
  Reply With Quote
06-11-18, 03:34 PM   #3
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 193
Works like a charm, thanks a lot, elcius!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Achievement CriteriaID check macro (for BfA)

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