Fandom

WoWWiki

API GetAchievementInfoFromCriteria

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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.

Also on Fandom

Random Wiki