Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Sets the unit to be compared to.
success = SetAchievementComparisonUnit(unit)
Arguments[]
- unit
- string : UnitId
Returns[]
- success
- boolean - Returns true/false depending on whether the unit is valid.
Triggers events[]
- INSPECT_ACHIEVEMENT_READY, when your query has finished processing on the server and new information is available
See also[]
- ClearAchievementComparisonUnit
- GetAchievementComparisonInfo
- GetNumComparisonCompletedAchievements