Returns the comparison unit's data for a statistic.

 

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:

info = GetComparisonStatistic(id)

Arguments:

  • id - The numeric ID of a statistic (number)

Returns:

  • info - The comparison unit's data for the statistic, or "--" if none has yet been recorded for it (string)