WoW:API GetWorldStateUIInfo: Difference between revisions
Jump to navigation
Jump to search
m (→Returns) |
|||
Line 20: | Line 20: | ||
:;tooltip : String - Tooltip displayed when hovering over the row (eg "Horde flag captures") | :;tooltip : String - Tooltip displayed when hovering over the row (eg "Horde flag captures") | ||
:;dynamicTooltip : String - Tooltip displayed when hovering over the dynamicIcon (eg "Alliance flag has been picked up") | :;dynamicTooltip : String - Tooltip displayed when hovering over the dynamicIcon (eg "Alliance flag has been picked up") | ||
:;extendedUI : | :;extendedUI : String - "CAPTUREPOINT" for objective capture bar, "" for regular objectives, | ||
:;extendedUIState1 : | :;extendedUIState1 : Integer - for CaptureBar: bar index, | ||
:;extendedUIState2 : | :;extendedUIState2 : Integer - for CaptureBar: current objective position : 100 means left, 0 means right, | ||
:;extendedUIState3 : | :;extendedUIState3 : Integer - for CaptureBar: neutral zone width : 0 means no neutral zone, 90 means 5% Alliance, 90% neutral and 5% Horde. | ||
---- | ---- | ||
{{wowapi}} | {{wowapi}} |
Revision as of 13:58, 25 January 2007
Get score and flag status within a battlefield.
state, text, icon, isFlashing, dynamicIcon, tooltip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3 = GetWorldStateUIInfo(index);
Arguments
- index
- index
- Interger - 1 for Alliance data and 2 for Horde data.
Returns
- state, text, icon, isFlashing, dynamicIcon, toolTip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3
- state
- In Warsong Gulch, returns 1 if the team does not hold the enemy flag and 2 if the team does. Returns 0 outside of the battleground.
- text
- String - Score ([score]/2000 inside Arathi Basin; [score]/3 inside Warsong Gulch)
- icon
- String - Icon (Template:Alliance Icon Small or Template:Horde Icon Small icon path returned inside Warsong Gulch)
- isFlashing
- Boolean - Wether or not the dynamicIcon should be flashing (it flashes if somebody has the flag)
- dynamicIcon
- String - Second icon thats usually position to the right of the main icon (Alliance flag or Horde flag icon path returned insied Warsong Gulch)
- tooltip
- String - Tooltip displayed when hovering over the row (eg "Horde flag captures")
- dynamicTooltip
- String - Tooltip displayed when hovering over the dynamicIcon (eg "Alliance flag has been picked up")
- extendedUI
- String - "CAPTUREPOINT" for objective capture bar, "" for regular objectives,
- extendedUIState1
- Integer - for CaptureBar: bar index,
- extendedUIState2
- Integer - for CaptureBar: current objective position : 100 means left, 0 means right,
- extendedUIState3
- Integer - for CaptureBar: neutral zone width : 0 means no neutral zone, 90 means 5% Alliance, 90% neutral and 5% Horde.