Returns the position of a battleground team member not in the player's group.
Returns the position of a battleground team member not in the player's group. Still used in the default UI but no longer useful; as all team members in a battleground match are automatically joined into a raid group. See GetPlayerMapPosition() instead.
Signature:
Code
unitX, unitY, name = GetBattlefieldPosition(index)
Arguments:
index - Index of a team member (between 1 and GetNumBattlefieldPositions()) (number)
Returns:
unitX - Horizontal (X) coordinate of the unit's position relative to the zone map (0 = left edge, 1 = right edge) (number)
unitY - Vertical (Y) coordinate of the unit's position relative to the zone map (0 = bottom edge, 1 = top edge) (number)
name - Name of the unit for display on the map (string)