GetAchievementInfoFromCriteria
Jump to navigation
Jump to search
Links |
---|
Info |
Added in 3.0.2 |
![]() |
This no longer exists on any flavor of the game. |
![]() |
This is no longer a part of the World of Warcraft API.
|
Returns the following fields for the specified Criteria.
id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(CriteriaID)
Arguments
- CriteriaID
- The ID of the Criteria.
Returns
- id
- Integer - The achievement's ID number.
- name
- String - The Name of the Achievement.
- points
- Integer - Points awarded for completing this achievement.
- completed
- Boolean - Returns true/false depending if you've completed this achievement.
- month
- Integer - Month this was completed. Returns nil if Completed is false.
- day
- Integer - Day this was completed. Returns nil if Completed is false.
- uear
- Integer - Year this was completed. Returns nil if Completed is false.
- description
- String - The Description of the Achievement.
- flags
- Integer
- 0x01 = Statistic
- 0x02 = Hidden
- 0x80 = Progress Bar
- icon
- String - Path & file of the icon used for this achievement
- RewardText
- String - Text describing the reward you get for completing this achievement.
Patch changes
Patch 5.0.4 (2012-08-28): Removed.
Patch 3.0.2 (2008-10-14): Added.