API PlayerLocation CreateFromBattlefieldScoreIndex

Identifies a battleground participant. location = PlayerLocation:CreateFromBattlefieldScoreIndex(battlefieldScoreIndex) location:SetBattlefieldScoreIndex(battlefieldScoreIndex)

Arguments

 * battlefieldScoreIndex : - The player's position on the Battleground roster / score window based on the match-making order.

Returns

 * location : - New PlayerLocationMixin.

Details

 * Use the first function to create a new table pointing to the player, or the second to reassign an existing table to that player.