v0.13.8

C_PvP.IsActiveBattlefield

functionrecordedavailable in: camelot

Returns whether you are currently in a battleground/battlefield.

signaturewowlua
function C_PvP.IsActiveBattlefield(): boolean

Returns

isActiveBattlefield · boolean · whether the player is in an active battlefield.

In wowlua's emulated client

recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PvpInfo system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.