Skip to content

Alert Combat

UI Utility

Checks combat lockdown and shows ElvUI’s standard not-in-combat error when blocked.

NamespaceEModuleCoreLifecyclestable
E:AlertCombat()

Checks combat lockdown and shows ElvUI’s standard not-in-combat error when blocked.

None.

Boolean combat lockdown state.

if E:AlertCombat() then return end

Use before addon actions that cannot safely run in combat.

Source: ElvUI/Game/Shared/General/API.lua:1097