WoW:API GetBattlefieldPosition

Revision as of 04:37, 4 January 2006 by WoWWiki>Muert

Retrieves the location and name of a player in the battleground not in your raid.

posX, posY, name = GetBattlefieldPosition(index)

Arguments
index
Index of the player to retrieve information for

Returns
posX
X value of the player's position (Range from 0 to 1, relative to WorldMapDetailFrame)
posY
Y value of the player's position (Range from 0 to 1, relative to WorldMapDetailFrame)
name
Name of the player



Template:WoW API