WoW:API GetBattlefieldFlagPosition: Difference between revisions
Jump to navigation
Jump to search
(Updated definition) |
|||
| 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. | ||
Revision as of 04:39, 13 February 2009
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.