WoW:API IsActiveBattlefieldArena: Difference between revisions

m
Move page script moved page API IsActiveBattlefieldArena to WoW:API IsActiveBattlefieldArena without leaving a redirect
No edit summary
 
m (Move page script moved page API IsActiveBattlefieldArena to WoW:API IsActiveBattlefieldArena without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns information if you are currently in an arena game, it also returns if that arena game is "registered" (matched game)
{{wowapi}} __NOTOC__
Used for checking if the player is inside an arena or if it's a rated match


  local isArena, isRegistered = IsActiveBattlefieldArena();
  isArena, isRegistered = IsActiveBattlefieldArena();


== Parameters ==
=== Returns ===
=== Returns ===
:arg1 - arg2


:;arg1 : Integer - 1 for true, nil for false
:; isArena : Integer - 1 if the player is inside an arena, nil if they aren't
:;arg2 : Integer - 1 for true, nil for false
:; isRegistered : Integer - 1 if the player is playing a rated arena match, nil if they aren't


----
 
{{wowapi}}
== Details ==
: If you are in waiting room and/or countdown is going on, it will return false.
Anonymous user