EVENT_PLAYER_ACTIVATED
ESO Lua API function — used by 1,275 of the 3,030 addons we indexed (combined 233,599,707 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_PLAYER_ACTIVATED(bool initial)Real usage — from Dolgubon's Lazy Writ Crafter
EVENT_MANAGER:RegisterForEvent(WritCreater.name.." Withdraw", EVENT_PLAYER_ACTIVATED, function() if GetCurrentZoneHouseId() >0 then alchGrab() end end)
for k, v in pairs(WritCreater.savedVars.depositList) doShort excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — 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 |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| HarvestMap | 9,454,533 |
| Destinations | 8,211,449 |
| Map Pins | 8,061,548 |
| Combat Metrics | 7,085,289 |
| LibLazyCrafting | 6,538,592 |