Wikia

WoWWiki

API GetNumBattlefieldPositions

Talk0
100,559pages on
this wiki
WoW API < GetNumBattlefieldPositions

Returns the number of players in the battleground that are not in your raid.

count = GetNumBattlefieldPositions()

Arguments
(none)

Returns
count 
Number of players in the battleground not in your raid

Comments

Returns 0 until RequestBattlefieldPositions() was called (returns even after call of RequestBattlefieldPositions() 0? Seems bugged, use GetPlayerMapPosition(unit) instead). You can use GetBattlefieldPosition(index) to retrieve the locations and names of the players.

Advertisement | Your ad here

Around Wikia's network

Random Wiki