ESODecoded

EVENT_UNIT_CREATED

ESO Lua API function — used by 35 of the 3,030 addons we indexed (combined 4,195,914 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

EVENT_UNIT_CREATED(string unitTag)

Real usage — from RaidNotifier Updated

    EVENT_MANAGER:UnregisterForEvent("LibGroupSocketUltimateHandler", EVENT_PLAYER_ACTIVATED)
    EVENT_MANAGER:UnregisterForEvent("LibGroupSocketUltimateHandler", EVENT_UNIT_CREATED)
    EVENT_MANAGER:UnregisterForEvent("LibGroupSocketUlti

Short excerpt from the shipping addon RaidNotifier Updatedits 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
RaidNotifier Updated2,789,746
EasyTravel293,327
LibUnitTracker222,004
Bandits Companions and Pets192,393
Votan's Group Pins96,300
Group Damage Share78,726