flagX, flagY, flagToken = GetBattlefieldFlagPosition(i);

Parameters Edit

Arguments Edit

Integer - Index to get the flag position from

Returns Edit

x, y 
Integer - Position of the flag on the map.
String - Name of flag texture in Interface\WorldStateFrame\
In Warsong Gulch the names of the flag textures are the strings "AllianceFlag" and "HordeFlag".

Details Edit

Used to position the flag icon on the world map and the battlefield minimap.

WoW API < GetBattlefieldFlagPosition
Community content is available under CC-BY-SA unless otherwise noted.