Returns the position of a flag in a battleground. Signature: Code flagX, flagY, flagToken = GetBattlefieldFlagPosition(index) Arguments: - index - Index of a flag (between 1 and GetNumBattlefieldFlagPositions()) (number)
Returns: - flagX - Horizontal (X) coordinate of the flag's position relative to the zone map (0 = left edge, 1 = right edge) (number)
- flagY - Vertical (Y) coordinate of the flag's position relative to the zone map (0 = bottom edge, 1 = top edge) (number)
- flagToken - Unique portion of the path to a texure for the flag; preface with "Interface\\WorldStateFrame\" for the full path (string)
Также смотрите: Поля сражений
, Battlefield functions
Ссылки: http://wowprogramming.com/docs/api/GetBattlefieldFlagPosition
|