thanks Lordyfrb!
though, the mana regen, shows my MP5, with 14 decimals ;) does anyone know how to make it with no decimals? :) |
Quote:
|
Quote:
may have another question later this evening, cant really work much on the code atm - Stay tuned! allright, searched the WoW API, and i cannot find a way to get the display to show Agility, attackpower, and critchance. any chance you might help? ;) |
Just found about this awesome looking addon, so I went and tried the first tutorial but end up with errors or nothing at all no matter what I do.
This is how my script currently looks like: Code:
lpanels:CreateLayout("TestCake", { name = "BlackBar", Code:
Message: Interface\AddOns\LitePanels\core.lua:328: attempt to index local 'f' (a number value) |
Quote:
Good luck! |
Errors are gone now, but I don't get anything on screen now lol.
Guess I'll just fool around a little more and see if something else works |
Hi,
Like instead bg_color = "CLASS" use bg_color = "POWER / MANA" I just need to paint the panel in the color of mana / rage / energy Thx |
Quote:
Code:
lpanels:CreateLayout("TestCake", { didnt get the viewport thing to work though :P |
Quote:
(My new UI is starting to look good!) Just one quick question though. How easy is oUF scripting compared to this? With a premade layout to work from. |
Quote:
Though, i'm eager to try it out myself :) EDIT: looked through some code in a oUF layout, i'd say this is much more simple, but i think that once you get the hang of it, it'll be just as easy :) |
Quote:
Always hated some of the restrictions in-game configurable addons had. But never really got myself into oUF or other similiar addons. Guess it's about time for me to get into this stuff. Considering I've been doing interface projects since early vanilla :p |
Quote:
By the way: lpanels:CreateLayout({ { panel }, { panel } }, { viewport }); Yeah... A little confusing at first, the syntax isn't too hard to get a hang of though. |
Another question.
I want a panel to hide when I don't have a target, and show when I have one. I've tried some different things but none seemed to work. I'm currently using Stuf Unit Frames. Want to use this on the Target, ToT and Pet frames. Tried parenting it, but i didn't get it to work. Any ideas? |
Quote:
Is it a panel to make a background for the frame, or? |
Quote:
|
Quote:
|
Quote:
Code:
{ name = "LeftPlayerTop", parent = "UIParent", anchor_to = "BOTTOM", |
[quote=Dokee;193197]Well.. thats some of the problem, I have no idea what code(s) to use. But I could give you the stripe code for LitePanels if that helps? So basically I just have two of these on each side of all unit frames, and want them hidden when the frames are not shown. (Target, Pet, Target of Target and possibly Party)
Allright, this should fix it: Code:
{ name = "LeftPlayerTop", Stuf.Units.Target for the target Stuf.Units.Targettarget for ToT Stuf.Units.Pet for pet Stuf.Units.Party1 for first party member Stuf.Units.Party2 for second, and so on. Remember, always start with a capital letter, in Stuf parents :) |
Hmm.. it's not working, weird. I get no errors or anything but the frame never shows up now. I'll try with some variations and see if I can come out with anything. Do you have any more ideas?
Thanks a bunch for the help btw! EDIT: Found a much better-looking way, instead of using LitePanels to just add the transparency as a decoration I made fading status bars instead, much more functional for Unit Frame usage. But thanks for the effort in helping me. |
Quote:
Thank you :) Sorry it didn't work out though |
All times are GMT -6. The time now is 12:37 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI