Returns information about the comparison unit's achievements. Only accurate once the INSPECT_ACHIEVEMENT_READY event has fired following a call to SetAchievementComparisonUnit(). No longer accurate once ClearAchievementComparisonUnit() is called.


See also Achievement functions.

Signature:

completed, month, day, year = GetAchievementComparisonInfo(id)

Arguments:

  • id - The numeric ID of an achievement (number)

Returns:

  • completed - True if the comparison unit has completed the achievement; otherwise nil (boolean)
  • month - Month in which the comparison unit completed the achievement (number)
  • day - Day of the month on which the comparison unit completed the achievement (number)
  • year - Year in which the comparison unit completed the achievement. (Two digit year, assumed to be 21st century.) (number)