SetAchievementComparisonUnit
Jump to navigation
Jump to search
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