WoW:API GetBattlefieldFlagPosition: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
(Updated definition)
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\
----
----
=== 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}}

Revision as of 04:52, 21 September 2007

 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\

Details

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


WoW API < GetBattlefieldFlagPosition