WoW:API GetBattlefieldPosition

From AddOn Studio
Revision as of 20:22, 10 November 2005 by WoWWiki>Adron (Documented from Blizzard_BattlefieldMinimap.lua)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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