WoW:API GetBattlefieldPosition: Difference between revisions
Jump to navigation
Jump to search
(Documented from Blizzard_BattlefieldMinimap.lua) |
No edit summary |
||
Line 17: | Line 17: | ||
---- | ---- | ||
{{ | {{WoW API}} | ||
Revision as of 04:37, 4 January 2006
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