PvP Zone Detection

From ESOUI Wiki

(Redirected from AvA Zone Detection)
Jump to: navigation, search
Cyrodiil Overworld Cyrodiil Delve Imperial City Imperial City Sewers** Battleground
IsPlayerInAvAWorld() true true true true false
IsInCyrodiil() true false false false false
IsInImperialCity() false false true true false
IsInAvAZone() true false true true false
IsInCampaign() true* true* true* true* false
IsActiveWorldBattleground() false false false false true
* as long as the player is inside a home or guest campaign
** Inside the Imperial Sewers GetCurrentMapIndex() is nil, which can be used to distinguish it from the Imperial City

Mentioned by Dan Batson on the forums.

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox