WoW:API GetWorldStateUIInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:
:;toolip : String - Info about the icon/text ("Horde flag captures")
:;toolip : String - Info about the icon/text ("Horde flag captures")
:;dynamicToolip : String - Info about the dynamicIcon ("Alliance flag has been picked up")
:;dynamicToolip : String - Info about the dynamicIcon ("Alliance flag has been picked up")
[[Category:API Functions|GetWorldStateUIInfo]]
[[Category:API Battlefield Functions|GetWorldStateUIInfo]]

Revision as of 18:41, 27 August 2005

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")