A Pyroguard Emberseer
Join Date: Mar 2010
Posts: 1,029
|
Originally Posted by lessterlll
Thx!
but script for ab don't work
|
Are you using a non-english locale?
Originally Posted by Pixol
Also for all the scripts, it seems to select the 4th data from that GetWorldStateUIInfo function, corresponding to... "icon"?
Does wowwiki need to be updated?
|
Yes, Wowprogramming/Wowpedia/WoWWiki all are not updated yet..
Code:
-- https://github.com/tekkub/wow-ui-sou...cdc5e8b#diff-8
uiType, state, hidden, text, icon, dynamicIcon, tooltip, dynamicTooltip, extendedUI, extendedUIState1, extendedUIState2, extendedUIState3 = GetWorldStateUIInfo(i)
Originally Posted by Pixol
Looking at the index value, the code you listed from dbm? has the index set to 1,2 for the first one, then 2,3, and finally 7?
index=1 --> alliance
index=2 --> horde
|
Check it out for yourself when the servers are up again*
Code:
/run for i = 1, GetNumWorldStateUI() do print(GetWorldStateUIInfo(i)) end
- SotA
Code:
1, 0, false, "Progress: 0", "", "", "", "", "CAPTUREPOINT", 0, 0, 0
0, 1, false, "Attacker", "Interface\TargetingFrame\UI-PVP-Alliance", "", "Alliance status", "", "", 0, 0, 0
0, 1, false, "Defender", "Interface\TargetingFrame\UI-PVP-Horde", "", "Horde status", "", "", 0, 0, 0
0, 0, false, "Defender", "Interface\TargetingFrame\UI-PVP-Alliance", "", "Alliance status", "", "", 0, 0, 0
0, 0, false, "Attacker", "Interface\TargetingFrame\UI-PVP-Horde", "", "Horde status", "", "", 0, 0, 0
0, 0, false, "Bonus Time: 07:46", "", "", "Time left for bonus points", "", "", 0, 0, 0
3, 0, false, "End of Round: 07:46", "", "", "Round ends after this duration", "", "", 0, 0, 0
3, 0, false, "End of Round: 07:46", "", "", "Round ends after this duration", "", "", 0, 0, 0
3, 1, false, "End of Round: 07:46", "", "", "Round ends after this duration", "", "", 0, 0, 0
- AB
Code:
0, 1, false, "Bases: 3 Resources: 1090/1600", "Interface\TargetingFrame\UI-PVP-Alliance", "", "Alliance status", "", "", 0, 0, 0
0, 1, false, "Bases: 2 Resources: 820/1600", "Interface\TargetingFrame\UI-PVP-Horde", "", "Horde status", "", "", 0, 0, 0
- WSG
Code:
0, 1, false, "Time Remaining: 20 min.", "", "", "Time Remaining", "", "", 0, 0, 0
0, 1, false, "0/3", "Interface\TargetingFrame\UI-PVP-Alliance", "Interface\WorldStateFrame\HordeFlag", "Alliance flag captures", "Horde flag has been picked up", "", 0, 0, 0
0, 1, false, "2/3", "Interface\TargetingFrame\UI-PVP-Horde", "Interface\WorldStateFrame\AllianceFlag", "Horde flag captures", "Alliance flag has been picked up", "", 0, 0, 0
- BFG
Code:
0, 1, false, "Bases: 0 Resources: 0/2000", "Interface\TargetingFrame\UI-PVP-Alliance", "", "Alliance status", "", "", 0, 0, 0
0, 1, false, "Bases: 0 Resources: 0/2000", "Interface\TargetingFrame\UI-PVP-Horde", "", "Horde status", "", "", 0, 0, 0
Originally Posted by Pixol
|
It should look a bit more clear now as to how it gets used, when you see the dumps above
Last edited by Ketho : 07-26-11 at 12:03 PM.
|