That is, if I understand correctly, I need to create a LUA file in which to add the achievement ID (from Wowhead). And when I open this achievement in the game, will I see the “ID criteria” for this achievement?
Lua Code:
local achievementID = 7439 -- Glorious! Achievement ID
local numCriteria = GetAchievementNumCriteria(achievementID)
local criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, criteriaID, eligible
for criteriaIndex = 1,numCriteria do
criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, criteriaID, eligible
= GetAchievementCriteriaInfo(achievementID, criteriaIndex)
-- This is where you might want to decide what to do with the information while it is available.
end