Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Achievement === These functions are only available in Patch 3.0. :{{id|API|AddTrackedAchievement}}(achievementId) - Add an achievement to tracking. :{{id|API|CanShowAchievementUI}}() - Returns if the AchievementUI can be displayed :{{id|API|ClearAchievementComparisonUnit}}() - Remove the unit being compared. :{{id|API|GetAchievementCategory}}(achievementID) - Return the category number of the requested achievement. :{{id|API|GetAchievementComparisonInfo}}(achievementID, comparisonNum) - Returns status of achievement for comparison player. :{{id|API|GetAchievementCriteriaInfo}}(achievementID, criteriaIndex) - Returns information about the requested criteria. :{{id|API|GetAchievementCriteriaInfoByID}}(achievementID, criteriaID) - Returns information about the requested criteria. (added 5.0.4) :{{id|API|GetAchievementInfo}}(achievementID) or (category, offset) - Returns information about the requested Achievement. :{{id|API|GetAchievementInfoFromCriteria}}(id) - Returns information about the requested Achievement. :{{id|API|GetAchievementLink}}(achievementID) - Returns a [[achievementLink]] for the specified Achievement. :{{id|API|GetAchievementNumCriteria}}(achievementID) - Return the number of criteria the requested Achievement has. :{{id|API|GetAchievementNumRewards}}(achievementID) - Return the number of rewards the requested Achievement has. :{{id|API|GetCategoryInfo}}(category) - Return information about the requested category :{{id|API|GetCategoryList}}() - Returns the list of Achievement categories. :{{id|API|GetCategoryNumAchievements}}(category) - Return the total Achievements and number completed for the specific category. :{{id|API|GetComparisonAchievementPoints}}() - Return the total number of achievement points the comparison unit has earned. :{{id|API|GetComparisonCategoryNumAchievements}}(achievementID) :{{id|API|GetComparisonStatistic}}(achievementID) - Return the value of the requested statistic for the comparison player. :{{id|API|GetLatestCompletedAchievements}}() - Return the ID's of the last 5 completed Achievements. :{{id|API|GetLatestCompletedComparisonAchievements}}() :{{id|API|GetLatestUpdatedComparisonStats}}() :{{id|API|GetLatestUpdatedStats}}() - Return the ID's of the last 5 updated Statistics. :{{id|API|GetNextAchievement}}(achievementID) :{{id|API|GetNumComparisonCompletedAchievements}}() :{{id|API|GetNumCompletedAchievements}}([guildOnly]) - Returns total and completed number of achievements, or only guild. :{{id|API|GetPreviousAchievement}}(achievementID) - Return previous related achievements. :{{id|API|GetStatistic}}(achievementID) - Return the value of the requested statistic. :{{id|API|GetStatisticsCategoryList}}() - Returns the list of Statistic categories. :{{id|API|GetTotalAchievementPoints}}([guildOnly]) - Return the total, or only guild, achievement points earned. :{{id|API|GetTrackedAchievements}}() - Return the AchievementID of the currently tracked achievements :{{id|API|GetNumTrackedAchievements}}() - Return the total number of the currently tracked achievements :{{id|API|RemoveTrackedAchievement}}(achievementID) - Stops an achievement from being tracked :{{id|API|SetAchievementComparisonUnit}}(unitId) - Set the unit to be compared to.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)