API GetAchievementCriteriaInfo

Returns information about the given Achievement's specified criteria. criteriaString, criteriaType, completed, quantity, reqQuantity, charName, flags, assetID, quantityString, criteriaID, eligible = GetAchievementCriteriaInfo(achievementID, criteriaIndex [, countHidden]) = GetAchievementCriteriaInfoByID(achievementID, criteriaID)

GetAchievementCriteriaInfo

 * achievementID : number - Achievement ID the queried criteria belongs to.
 * criteriaIndex : number - Index of the criteria to query, ascending from 1 up to GetAchievementNumCriteria(achievementID).

GetAchievementCriteriaInfoByID

 * achievementID : number
 * criteriaID : number - Unique ID of the criteria to query.
 * countHidden : boolean

Returns

 * 1. criteriaString : string - The name of the criteria.
 * 2. criteriaType : number - Criteria type; specifies the meaning of the assetID.
 * 3. completed : boolean - True if you've completed this criteria; false otherwise.
 * 4. quantity : number - Quantity requirement imposed by some.
 * 5. reqQuantity : number - The required quantity for the criteria. Used mostly in achievements with progress bars. Usually 0.
 * 6. charName : string - The name of the character that completed this achievement.
 * 7. flags : number - Some flags. Currently unknown purpose.
 * 8. assetID : number - Criteria data whose meaning depends on the type.
 * 9. quantityString : string - The string used to display the current quantity. Usually the string form of the quantity return.
 * 10. criteriaID : <font color="#ecbc2a">number - Unique criteria ID.
 * 11. eligible : <font color="#ecbc2a">boolean - 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 : <font color="#ecbc2a">number
 * 13. elapsed : <font color="#ecbc2a">number

Values
See Criteria.db2