Fandom

WoWWiki

API CanJoinBattlefieldAsGroup

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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.

Also on Fandom

Random Wiki