07-31-16, 09:48 PM | #1 |
Stand Alone Artifact Bar
hey has anyone figure out how to do a stand alone artifact bar yet, im trying but getting absolutely nowhere, so bad i just cntr+a ---> delete the code i was working on, i really dont know how the hell its working at all
would like it to be similar to my XP bar/rep bar and only toggle on once i am at the level necessary to use artifact power here is the code to my XP bar to give an idea however it would be tied to an identical frame on the other side of the screen Lua Code:
__________________
|
|
08-01-16, 12:23 AM | #2 |
For mine is just a frame with a texture and a FontString using SetTexCoords etc in the SetValue function but the essential plumbing is (Texture or StatusBar):
Lua Code:
My text is a simple percentage of progression so the artifactXP/xpForNextPoint works for bar progress and text.
__________________
Fizzlemizz Maintainer of Discord Unit Frames and Discord Art. Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus. Last edited by Fizzlemizz : 08-01-16 at 12:55 AM. |
|
08-01-16, 11:03 AM | #3 | |
Lua Code:
__________________
|
||
08-01-16, 11:22 AM | #4 |
The actual setting of the display size is handled in SetValue. My bar is a globe/flask that fills bottom to top and I don't show any text if the value is zero.
Size is the width/height of my bar. Lua Code:
You could use the same to set the value for a statusbar.
__________________
Fizzlemizz Maintainer of Discord Unit Frames and Discord Art. Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus. Last edited by Fizzlemizz : 08-01-16 at 11:28 AM. |
|
08-01-16, 01:16 PM | #5 |
Here is what i've made
Lua Code:
|
|
WoWInterface » Developer Discussions » General Authoring Discussion » Stand Alone Artifact Bar |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|