Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetAchievementInfoFromCriteria

Last wiki revision 2020-01-08

Returns the following fields for the specified Criteria. id, name, points, completed, month, day, year, description, flags, icon = GetAchievementInfoFromCriteria(CriteriaID)

  • CriteriaID: The ID of the Criteria.
  • 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.

Source

https://warcraft.wiki.gg/wiki/API_GetAchievementInfoFromCriteria · 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.