Lore archive · Warcraft Wiki, 2023 dump
API GetAchievementCriteriaInfo
Last wiki revision 2022-08-01
Returns info for the specified achievement criteria. criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, criteriaID, eligible = GetAchievementCriteriaInfo(achievementID, criteriaIndex [, countHidden]) = GetAchievementCriteriaInfoByID(achievementID, criteriaID)
- achievementID: - Achievement ID the queried criteria belongs to.
- criteriaIndex: - Index of the criteria to query, ascending from 1 up to GetAchievementNumCriteria(achievementID).
- achievementID:
- criteriaID: - Unique ID of the criteria to query.
- countHidden:
- 1. criteriaString: - The name of the criteria.
- 2. criteriaType: - Criteria type; specifies the meaning of the assetID.
- 3. completed: - True if you've completed this criteria; false otherwise.
- 4. quantity: - Quantity requirement imposed by some.
- 5. reqQuantity: - The required quantity for the criteria. Used mostly in achievements with progress bars. Usually 0.
- 6. charName: - The name of the character that completed this achievement.
- 7. flags: - Some flags. Currently unknown purpose.
- 8. assetID: - Criteria data whose meaning depends on the type.
- 9. quantityString: - The string used to display the current quantity. Usually the string form of the quantity return.
- 10. criteriaID: - Unique criteria ID.
- 11. eligible: - True if the criteria is eligible to be completed; false otherwise. Used to determine whether to show the criteria line in the objectives tracker in red or not.
- 12. duration:
- 13. elapsed:
See Criteria.db2
Source
https://warcraft.wiki.gg/wiki/API_GetAchievementCriteriaInfo · 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.