GetEarnedAchievementPoints

From ESOUI Wiki

(Difference between revisions)
Jump to: navigation, search
DavidJCobb (Talk | contribs)
(Created page with "This function returns the number of achievement points that the player has earned with their current character. == Syntax == <source lang="lua"> local earned = GetEarnedAchievem...")

Latest revision as of 15:40, 4 November 2019

This function returns the number of achievement points that the player has earned with their current character.

Syntax

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

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox