WoW:API GetBattlefieldPosition
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