Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetAchievementComparisonInfo

Last wiki revision 2022-07-21

Returns information about the comparison unit's achievements. completed, month, day, year = GetAchievementComparisonInfo(achievementID)

  • achievementID: - ID of the achievement to retrieve information for.
  • completed: - Returns true/false depending on whether the unit has completed the achievement or not.
  • month: - Month in which the unit has completed the achievement. Returns nil if completed is false.
  • day: - Day of the month in which the unit has completed the achievement. Returns nil if completed is false.
  • year: - Year (two digits, 21st century is assumed) in which the unit has completed the achievement. Returns nil if completed is false.
  • Only accurate after the after SetAchievementComparisonUnit is called and the INSPECT_ACHIEVEMENT_READY event has fired.
  • Inaccurate after ClearAchievementComparisonUnit has been called.

Source

https://warcraft.wiki.gg/wiki/API_GetAchievementComparisonInfo · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.