WoW:API GetBattlefieldPosition

From AddOn Studio
Revision as of 04:37, 4 January 2006 by WoWWiki>Muert
Jump to navigation Jump to search

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