GetNumComparisonCompletedAchievements

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 3.0.2 / 1.15.0

Returns the number of completed achievements for the comparison player.

total, completed = GetNumComparisonCompletedAchievements(achievementID)

Arguments

achievementID
number - ID of the achievement to retrieve information for.

Returns

total
number - Total number of achievements currently in the game.
completed
number - Number of achievements completed by the comparison unit.

Details

  • Does not include Feats of Strength
  • Only accurate after the after SetAchievementComparisonUnit is called and the INSPECT_ACHIEVEMENT_READY event has fired.
  • Inaccurate after ClearAchievementComparisonUnit has been called.

Patch changes

Wrath-Logo-Small.png Patch 3.0.2 (2008-10-14): Added.

See also