WoW:API GetWorldStateUIInfo

Revision as of 21:01, 25 May 2005 by WoWWiki>Jimmcq
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip = GetWorldStateUIInfo(i);

Get score and flag status within a battlefield


Arguments
(i)
i
Number - 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")