API GetAchievementInfoFromCriteria

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.