08-08-14, 03:08 PM | #1 |
garrison buttons
to preface; I'm aware that the garrison UI is buggy and seemingly unfinished currently (w/ duplicate follower abilities and traits etc).
... Ugh, trying to make sense of blizzard's convoluted frame-naming strategies in the garrison UI. I'm attempting to access icons buried in the mission frames and have got most of them - except for the rewards shown on the available/in progress lists. You can see 'em here: Actually, as you can probably see, I am managing to reach and access some of the icons - but without any kind of consistency. They'll only apply if I have 'available' missions, and only on the first icon of a row. this is the code i'm using, co-opting blizzard's use of strange and convoluted multi-part locals Lua Code:
and the relevant functions buried in Garrison MissionUI: https://github.com/tekkub/wow-ui-sou...onUI.lua#L1231 https://github.com/tekkub/wow-ui-sou...onUI.lua#L1310 accessing other buttons has been a relative breeze, using simple calls like Lua Code:
|
|
08-08-14, 03:31 PM | #2 |
dammit I think I just figured it out. This bugs me for a week then I post in here and fix it in 5 minutes. Always the same
Lua Code:
|
|
WoWInterface » Site Forums » Archived Beta Forums » WoD Beta archived threads » garrison buttons |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|