EVENT_ZONE_UPDATE
ESO Lua API function — used by 32 of the 3,030 addons we indexed (combined 3,779,886 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
EVENT_ZONE_UPDATE(string unitTag, string newZoneName)Real usage — from BeamMeUp - Teleporter (Fast Travel)
end
em:RegisterForEvent(self.name, EVENT_ZONE_UPDATE, OnZoneUpdate)
Short excerpt from the shipping addon BeamMeUp - Teleporter (Fast Travel) — 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 |
|---|---|
| BeamMeUp - Teleporter (Fast Travel) | 2,770,107 |
| EasyTravel | 293,327 |
| Grim Focus Counter | 217,114 |
| Votan's Group Pins | 96,300 |
| Lights of Meridia | 90,016 |
| Crux Counter | 65,812 |