GetAchievementComparisonInfo

From Warcraft Wiki
Jump to navigation Jump to search
Game Types
Links
Patch
Added in 3.0.2 / 3.4.0 / 1.14.4

Returns information about the comparison unit's achievements.

completed, month, day, year = GetAchievementComparisonInfo(achievementID)

Arguments

achievementID
number - ID of the achievement to retrieve information for.

Returns

completed
boolean - Returns true/false depending on whether the unit has completed the achievement or not.
month
number - Month in which the unit has completed the achievement. Returns nil if completed is false.
day
number - Day of the month in which the unit has completed the achievement. Returns nil if completed is false.
year
number - Year (two digits, 21st century is assumed) in which the unit has completed the achievement. Returns nil if completed is false.

Details

Patch changes

See also