Hi all
http://s.wowinterface.com/preview/pvw31606.jpg http://i.imgur.com/f00eS.jpg I need this LUA code for my UI with Chinchilla ! I just newbye in LUA , i needed help for this ^^ Thx you ! |
Quote:
|
Thx you very much :)
Sry for my bad englis , i'm from french ^^ EDIT : After putting in LUA code Lpanels> Core.LUA I is that the graphics system code, I likewise will not have the code for LUA lstat (See: http://s.wowinterface.com/preview/pvw31606.jpg ) Thank you in advance. pRAISED |
Panel height math
Hiya Katae,
Loving both LitePanels and LiteStats. I do however have a query about making a panel that changes size with the chat frame. I'm using chicchai to change the height of the chat frame so i need to be able to do some math on the height, for example i need it to be 100% of the frame height + 35 for the chat tabs. So far i have my panel coded as: Code:
{ name = "Bar10", Thanks for your assistance. Cani :) |
Quote:
|
[quote=zynix;193202]
Quote:
Quote:
Stuf.units.'framename' i.e. for the pet frame its: Stuf.units.pet Notice the only capital letter is the S in Stuf, the rest is lower case. |
[quote=Lordyfrb;194257]
Quote:
Ahh, my bad :P |
Quote:
Code:
parent = "ChatFrame1", |
I was curious if someone had a litepanel or knewhow to set a panel to make the recount window hide when in a capital city (stormwind, dalaran, orgrimmar, etc.) and making a chatframe appear instead while in a capital city and of course making the chatframe disappear while out of a capital city and recount appear in its place.
|
Ok so here is my stab in the dark at making recount disappear while in a capital city and for the life of me I can't figure it out at all, it doesn't seem to be working. Basically I ripped off a sample script from the kgpanel sample script help page area and have no idea why this isn't working so hopefully someone can give me some insight on what I am doing wrong, I am thinking I have the actual code in the wrong spot of my layout section but I don't know. This is a snippet from my layout file, I can post my file up as a download if needed too. Thanks in advance for any help you can give. :banana:
Code:
-- Recount Panel |
Are you getting any errors? I think your syntax for bg_color (line 8) should be:
Code:
bg_color = "0.01 0.01 0.01", Code:
OnLoad=function(self) You're also missing a comma after strata = "BACKGROUND" |
No errors whatsoever, just not doing what I want it to going to try this once I get home from work tonight thanks alot for the help! :banana:
|
1 Attachment(s)
Well tried this out and no go, I for the life of me can't figure out what I am doing wrong here, I tried changing a few things around but nothing seems to help. All my frames load properly except for the recount frame, the frame loads just without its border. Anyhow here is the error I am getting and my layout file to see if someone could make some sense of the mess I've made.
Code:
1x LitePanels-30300.2\layout.lua:78: attempt to call method 'RegsiterEvent' (a nil value) Attachment 4527 |
You're missing a lot of commas, before nearly every "},".
The correct syntax for border size is "border_size = 5," (without quotes around the value). Same for border_alpha. As for the script itself, I'm not that knowledgeable, so can't help you there :p |
Well I get no errors and everything loads fine when I dont have this bit in there:
Code:
OnLoad=function(self) |
just a stupid question,
im using the little statsblock from the first page, but is it possible to add a dps meter in there ? or do i have to use a different addon ? i wanted to have as little as possible addon windows on my screen, but im a total noob with lua. |
Quote:
|
I believe I've tried that and it didn't help and since their in the same spot as Katae's example for the afk mod I figure they should be there but I will try it again and double check just to make sure.
Edit: yep tried it and it didnt work in fact when I tried it none of my panels showed up. |
Thats ok I'm not to sure about lua syntax.
However I've spotted a spelling mistake in your code: Code:
OnLoad=function(self) Code:
OnLoad=function(self) |
All times are GMT -6. The time now is 07:22 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI