Wikia

WoWWiki

Changes: API GetAchievementInfoFromCriteria

Edit

Back to page

(i don't believe this has a category/index version, since the regular GetAchievementInfo does)
(Updated flags)
 
Line 22: 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 - Purpose unknown.
+
:;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 22:38, November 2, 2009

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.

Around Wikia's network

Random Wiki