WoW:API GetWorldStateUIInfo
text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip = GetWorldStateUIInfo(i);
Get score and flag status within a battlefield
Arguments
- (i)
- i
- Integer - The team number to retrieve score information for (1..MAX_ALWAYS_UP_UI_FRAMES)
Returns
- text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip
- text
- String - The team's score ("0/3")
- icon
- String - The team's icon
- isFlashing
- Boolean - Whether or not the dynamicIcon should be flashing (it flashes when the flag has been picked up)
- dynamicIcon
- String - The team's flag icon
- toolip
- String - Info about the icon/text ("Horde flag captures")
- dynamicToolip
- String - Info about the dynamicIcon ("Alliance flag has been picked up")