ESODecoded

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]=true

Short excerpt from the shipping addon Map Pinsits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Map Pins8,061,548
Assist Rapid Riding629,563
Dungeon Champions229,338
By The Ancestors - Tomb Hunter106,161
Magic Sorter: Furniture Storage Automation83,212
Assist Rapid Riding (Fixed)66,588