ESODecoded

EVENT_BEGIN_SIEGE_CONTROL

ESO Lua API event — used by 32 of the 3,030 addons we indexed (combined 19,922,845 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

EVENT_BEGIN_SIEGE_CONTROL

Real usage — from Bandits User Interface

	EVENT_MANAGER:RegisterForEvent("BUI_Event", EVENT_WEREWOLF_STATE_CHANGED,		OnWerewolf)
	EVENT_MANAGER:RegisterForEvent("BUI_Event", EVENT_BEGIN_SIEGE_CONTROL,			function()OnSiege(true)end)
	EVENT_MANAGER:RegisterForEvent("BUI_Event", EVENT

Short excerpt from the shipping addon Bandits User Interfaceits 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
Bandits User Interface6,130,317
AUI - Advanced UI5,406,091
Lui Extended3,001,958
Provision's TeamFormation : Teammate Radar1,506,270
Foundry Tactical Combat (FTC)1,097,601
Wykkyd Outfitter632,442