→ WoW API
Sets the unit to be compared to.
success = SetAchievementComparisonInfo("unit")
- String (unitId) - unit to query, e.g. "target"
- Boolean - Returns true/false depending on whether the unit is valid.
- INSPECT_ACHIEVEMENT_READY, when your query has finished processing on the server and new information is available