WoW API: IsActiveBattlefieldArena

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API IsActiveBattlefieldArena to API IsActiveBattlefieldArena without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < IsActiveBattlefieldArena

Used for checking if the player is inside an arena or if it's a rated match

isArena, isRegistered = IsActiveBattlefieldArena();

Parameters

Returns

isArena
Integer - 1 if the player is inside an arena, nil if they aren't
isRegistered
Integer - 1 if the player is playing a rated arena match, nil if they aren't


Details

If you are in waiting room and/or countdown is going on, it will return false.