WoW:API GetBattlefieldFlagPosition: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Updated definition)
m (Move page script moved page API GetBattlefieldFlagPosition to API GetBattlefieldFlagPosition without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
:;x, y : Integer - Position of the flag on the map.
:;x, y : Integer - Position of the flag on the map.
:;token : String - Name of flag texture in Interface\WorldStateFrame\
:;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 ===
=== Details ===
Used to position the flag icon on the world map and the battlefield minimap.
Used to position the flag icon on the world map and the battlefield minimap.

Latest revision as of 04:45, 15 August 2023

 flagX, flagY, flagToken = GetBattlefieldFlagPosition(i);


Parameters

Arguments

index
Integer - Index to get the flag position from


Returns

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

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


WoW API < GetBattlefieldFlagPosition