IsPlayerActivated
ESO Lua API function — used by 33 of the 3,030 addons we indexed (combined 9,523,292 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
IsPlayerActivated()Returns: bool activated
Real usage — from Map Pins
if i==5 and MapContentType==MAP_CONTENT_DUNGEON and IsUnitUsingVeteranDifficulty("player") then return end
if not IsPlayerActivated() then
UpdatingMapPin[i]=trueShort excerpt from the shipping addon Map Pins — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Map Pins | 8,061,548 |
| Assist Rapid Riding | 629,563 |
| Dungeon Champions | 229,338 |
| By The Ancestors - Tomb Hunter | 106,161 |
| Magic Sorter: Furniture Storage Automation | 83,212 |
| Assist Rapid Riding (Fixed) | 66,588 |