API AddTrackedAchievement

From Wowpedia
Jump to: navigation, search

Marks an achievement for tracking in the WatchFrame.

AddTrackedAchievement(achievementId)

Arguments

achievementId
Number - ID of the achievement to add to tracking.

Triggers Events

Notes

  • A maximum of WATCHFRAME_MAXACHIEVEMENTS (10 as of 5.4.8) tracked achievements can be displayed by the WatchFrame at a time.
  • You may need to manually updated the AchievementUI and WatchFrame after calling this function.

Patch changes

  • Wrath of the Lich King Patch 3.1.0 (2009-04-14): Renamed from SetTrackedAchievement to AddTrackedAchievement.
  • Wrath of the Lich King Patch 3.0.2 (2008-10-14): Added.

See also