Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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[]
Patch 3.0.2 (2008-10-14): Added.
See also[]
- SetAchievementComparisonUnit - to select a target before using this function
- ClearAchievementComparisonUnit - to clear the selection after using this function
- GetNumCompletedAchievements - for details about the player's own progress