API IsActiveBattlefieldArena

From Wowpedia
Jump to: navigation, search

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

lcoal isArena, isRegistered = IsActiveBattlefieldArena()

Parameters

Returns

isArena 
Boolean - true if the player is inside an arena, false if they aren't
isRegistered 
Boolean - true if the player is playing a rated arena match, false if they aren't

Details

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