if i want to create a screenshot when the achievement box appears, i can register for
this seems to fail for the intermediate update boxes in between, when yoiu just completed one of the lets say 4 subcriteria of an achievement.
How would i get those boxes on screenshots too?
Criteria_Update seems also wrong for that
Grail records the pieces of the achievement using CRITERIA_EARNED:
['CRITERIA_EARNED'] = function(self, frame, ...)
if self.debug or self.tracking then
local achievementId, criterionId = ...
local _, achievementName = GetAchievementInfo(achievementId)
local criterionName = GetAchievementCriteriaInfoByID(achievementId, criterionId)
self:_AddTrackingMessage("Criterion earned: "..criterionName.." ("..criterionId..") for achievement "..achievementName.." ("..achievementId..")")