Navigation menu

WoW:API GetAchievementInfo: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (The year completed returned is actually the number of years since 2000, not the actual year.)
No edit summary
Line 2: Line 2:
Returns information about the given Achievement.  New in [[Patch 3.0]]
Returns information about the given Achievement.  New in [[Patch 3.0]]


  IDNumber, Name, Points, Completed, Month, Day, Year, Description, Flags, Image, RewardText = GetAchievementInfo(achievementID)
  IDNumber, Name, Points, Completed, Month, Day, Year, Description, Flags, Image, RewardText, isGuildAch = GetAchievementInfo(achievementID)
   
   
  '''''OR'''''
  '''''OR'''''
   
   
  IDNumber, Name, Points, Completed, Month, Day, Year, Description, Flags, Image, RewardText = GetAchievementInfo(categoryID, index)
  IDNumber, Name, Points, Completed, Month, Day, Year, Description, Flags, Image, RewardText, isGuildAch = GetAchievementInfo(categoryID, index)


----
----
Line 40: Line 40:
:;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.
:;isGuildAch : Boolean - true if guild achievement, false otherwise
Anonymous user