WoW:API GetAchievementInfoFromCriteria: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} Returns the following fields for the specified Criteria. New in Patch 3.0 id, name, points, completed, month, day, year, description, flags, icon = GetAchievem...') |
m (Move page script moved page API GetAchievementInfoFromCriteria to API GetAchievementInfoFromCriteria without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(CriteriaID) | id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(CriteriaID) | ||
---- | ---- | ||
| Line 26: | Line 22: | ||
:;Year : Integer - Year this was completed. Returns nil if Completed is false. | :;Year : Integer - Year this was completed. Returns nil if Completed is false. | ||
:;Description : String - The Description of the Achievement. | :;Description : String - The Description of the Achievement. | ||
:;Flags : Integer | :;Flags : Integer | ||
:::0x01 = Statistic | |||
:::0x02 = Hidden | |||
:::0x80 = Progress Bar | |||
:;Image : String - Path & file of the icon used for this achievement | :;Image : String - Path & file of the icon used for this achievement | ||
:;RewardText : String - Text describing the reward you get for completing this achievement. | :;RewardText : String - Text describing the reward you get for completing this achievement. | ||
Latest revision as of 04:45, 15 August 2023
← WoW API < GetAchievementInfoFromCriteria
Returns the following fields for the specified Criteria. New in Patch 3.0
id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(CriteriaID)
- Arguments
- (Number CriteriaID)
- CriteriaID
- The ID of the Criteria.
- Returns
- IDNumber
- 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.
- Year
- 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
- Image
- String - Path & file of the icon used for this achievement
- RewardText
- String - Text describing the reward you get for completing this achievement.