GetUnitChampionPoints

From ESOUI Wiki

(Difference between revisions)
Jump to: navigation, search
DavidJCobb (Talk | contribs)
(Created page with "This function returns the number of Champion Points that the specified unit has earned. If the specified unit cannot earn Champion Points or does not exist, this function returns...")

Latest revision as of 15:43, 4 November 2019

This function returns the number of Champion Points that the specified unit has earned. If the specified unit cannot earn Champion Points or does not exist, this function returns zero.

Arguments

unitTag
A string representing a unit tag.

Example

local p = GetUnitChampionPoints("reticleover")
if p > 0 then
   d("You're aiming at a player that has earned " .. p .. " Champion Points.")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox