WoW API: GetBattlefieldFlagPosition
flagX, flagY, flagToken = GetBattlefieldFlagPosition(i);
ParametersEdit
ArgumentsEdit
- index
- Integer - Index to get the flag position from
ReturnsEdit
- x, y
- Integer - Position of the flag on the map.
- token
- String - Name of flag texture in Interface\WorldStateFrame\
- In Warsong Gulch the names of the flag textures are the strings "AllianceFlag" and "HordeFlag".
DetailsEdit
Used to position the flag icon on the world map and the battlefield minimap.