WoW API: GetBattlefieldFlagPosition

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetBattlefieldFlagPosition to API GetBattlefieldFlagPosition without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 flagX, flagY, flagToken = GetBattlefieldFlagPosition(i);


Parameters[edit]

Arguments[edit]

index
Integer - Index to get the flag position from


Returns[edit]

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".

Details[edit]

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


WoW API < GetBattlefieldFlagPosition