WoW API: AddTrackedAchievement

From AddOn Studio
Revision as of 00:53, 22 June 2010 by WoWWiki>Starlightblunder (Created page with '{{wowapi}} Marks an achievement for tracking. AddTrackedAchievement(achievementId); ==Arguments== ; achievementId : Number - ID of the achievement to add to tracking. == Fires…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < AddTrackedAchievement

Marks an achievement for tracking.

AddTrackedAchievement(achievementId);

Arguments

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

Fires Events

Notes

  • 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 also