IsUnitDead
ESO Lua API function — used by 168 of the 3,030 addons we indexed (combined 14,829,020 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
IsUnitDead(string unitTag)Returns: bool isDead
Real usage — from Code's Combat Alerts
nil,
unit[(self.options.strikeDead and IsUnitDead(unitTag)) and "nameStriked" or "name"]
)Short excerpt from the shipping addon Code's Combat Alerts — 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 |
|---|---|
| Code's Combat Alerts | 4,445,158 |
| Provision's TeamFormation : Teammate Radar | 1,506,270 |
| Foundry Tactical Combat (FTC) | 1,097,601 |
| Auto Recharge (and repair) | 1,014,626 |
| Votan's Fish Fillet | 1,006,043 |
| OdySupportIcons - Group Role Icons & More | 484,590 |