ESODecoded

IsUnitDeadOrReincarnating

ESO Lua API function — used by 32 of the 3,030 addons we indexed (combined 1,229,227 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

IsUnitDeadOrReincarnating(string unitTag)

Returns: bool isDead

Real usage — from Wizard's Wardrobe

function WWR.RepairAllWithKit()
	if IsUnitDeadOrReincarnating( "player" ) then
		return

Short excerpt from the shipping addon Wizard's Wardrobeits 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
Wizard's Wardrobe481,038
Event Tracker249,931
Unboxer140,238
Custom Idle Animation81,853
tralce's Collectible Keybinds - Companions, Armory, Assistants, Decon, and more!41,631
LibSprint32,226