Wikia

WoWWiki

API CanJoinBattlefieldAsGroup

Talk0
101,499pages on
this wiki
Revision as of 19:23, January 30, 2008 by Illonis (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < CanJoinBattlefieldAsGroup

Returns, whether the player can join a battlefield as group or not.

isTrue = CanJoinBattlefieldAsGroup()


Arguments Edit

none

Returns Edit

isTrue 
Boolean - returns true, if the player can join the battlefield as group


Example Edit

if(CanJoinBattlefieldAsGroup()) then
 JoinBattlefield(0,1) -- join battlefield as group
else
 JoinBattlefield(0,0) -- join battlefield as single player
end

Result

Queries the player either as group or as single player.

Around Wikia's network

Random Wiki