WoW:API GetBattlefieldFlagPosition: Difference between revisions

m
Move page script moved page API GetBattlefieldFlagPosition to WoW:API GetBattlefieldFlagPosition without leaving a redirect
No edit summary
 
m (Move page script moved page API GetBattlefieldFlagPosition to WoW:API GetBattlefieldFlagPosition without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Get data from the custom battlefield scoreboard columns
  flagX, flagY, flagToken = GetBattlefieldFlagPosition(i);
 


  GetBattlefieldFlagPosition(index)
== Parameters ==
== Parameters ==
=== Arguments ===
=== Arguments ===


:;index : Integer - Index to get the flag position from
:;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 ===
=== Details ===
Used to position the flag icon on the world map and the battlefield minimap. This appears to only be used inside [[Warsong Gulch]] for positioning where somebody is carring the enemy flag.
Used to position the flag icon on the world map and the battlefield minimap.


----
----
__NOTOC__
__NOTOC__
{{wowapi}}
{{wowapi}}
Anonymous user