WoW:API IsActiveBattlefieldArena: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Small formatting change)
m (added some remarkable function details.)
Line 9: Line 9:
:; isArena : Integer - 1 if the player is inside an arena, nil if they aren't
:; 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
:; 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.

Revision as of 12:38, 17 August 2007

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.