Returns information about a battleground-specific scoreboard column. Battleground-specific statistics include flags captured in Warsong Gulch, towers assaulted in Alterac Valley, etc.
See also Battlefield functions.
Signature:
text,
icon,
tooltip
=
GetBattlefieldStatInfo(statIndex)
Arguments:
statIndex
- Index of a battleground-specific statistic (between 1 andGetNumBattlefieldStats()
) (number
)
Returns:
text
- Name to display for the statistic's scoreboard column header (string
)icon
- Path to an icon texture for the statistic (string
)tooltip
- Text to be displayed as a tooltip when mousing over the scoreboard column (string
)