DataType:achievementcat

From the wonderful RedGuides Wiki

Provides access to achievement categories. Achievements are organized hierarchically in the achievements window by categories.

While not required to access achievements, categories may be useful for enumerating lists of achievements.


This Data Type is referenced in MacroQuest, and accessed by Top-Level Object(s): Achievement
achievementcat is used as a return type by these members:  [ Toggle ]

Page Member Description
achievementcat CategoryByIndex Find a child category by its index in this category.
Category[#|Name] Find a child category in this category by its ID or name.
achievementmgr CategoryByIndex[#] Find an achievement category by its index.
Category[#|Name] Find an achievement category by its id or by its name.
  • If searching by name, only top-level categories are returned from the achievement manager.

Members

Type Member Description
achievement AchievementByIndex[#] Find an achievement by its index in this category.
Achievement[#|Name] Find an achievement in this category by its ID or name.
achievementcat CategoryByIndex Find a child category by its index in this category.
Category[#|Name] Find a child category in this category by its ID or name.
int AchievementCount The number of achievements in this category.
CategoryCount The number of child categories in this category.
CompletedAchievements The number of achievements earned in this category and its subcategories
ID The unique ID for the category
Index The index of the category in the achievement manager.
Points The total earned points of achievements in this category.
TotalAchievements The total number of achievements in this category and its subcategories.
string Description The category's description
ImageTextureName Name of the image texture that is used to represent this category in the Achievements Window.
Name The category's display name

Examples

mq.TLO.Achievement.CompletedAchievements()
mq.TLO.Achievement.AchievementCount()
mq.TLO.Achievement.CategoryByIndex(1)

See also