Returns the position of a flag in a battleground
See also Battlefield functions.
Signature:
flagX,
flagY,
flagToken
=
GetBattlefieldFlagPosition(index)
Arguments:
index
- Index of a flag (between 1 andGetNumBattlefieldFlagPositions()
) (number
)
Returns:
flagX
- Horizontal (X) coordinate of the flag's position relative to the zone map (0 = left edge, 1 = right edge) (number
)flagY
- Vertical (Y) coordinate of the flag's position relative to the zone map (0 = bottom edge, 1 = top edge) (number
)flagToken
- Unique portion of the path to a texure for the flag; preface with"Interface\\WorldStateFrame\"
for the full path (string
)