Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetAchievementComparisonInfo

From Wowpedia
Jump to: navigation, search

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

See also