WoW API: AddTrackedAchievement

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API AddTrackedAchievement to API AddTrackedAchievement without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < AddTrackedAchievement

Marks an achievement for tracking.

AddTrackedAchievement(achievementId);

ArgumentsEdit

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

Fires EventsEdit

NotesEdit

  • You may need to call AchievementFrameAchievements_ForceUpdate() and WatchFrame_Update() after calling this function to update the achievement and tracking FrameXML elements respectively.
  • A maximum of WATCHFRAME_MAXACHIEVEMENTS (10 as of 3.3.3) tracked achievements can be displayed by the FrameXML tracker at a time.

See alsoEdit