# GetTotalAchievementPoints

### From ESOUI Wiki

(Difference between revisions)

DavidJCobb (Talk | contribs)

(Created page with "This function returns the maximum possible number of achievement points that can be earned by completing every achievement. == Syntax == <source lang="lua"> local earned = GetEa...")

(Created page with "This function returns the maximum possible number of achievement points that can be earned by completing every achievement. == Syntax == <source lang="lua"> local earned = GetEa...")

## Latest revision as of 15:41, 4 November 2019

This function returns the maximum possible number of achievement points that can be earned by completing every achievement.

## Syntax

local earned = GetEarnedAchievementPoints() local max = GetTotalAchievementPoints() local percent = math.floor((earned / max) * 100) d("You've completed " .. percent .. "% of the game's achievements!")