Showing results 1 to 19 of 19
Search took 0.00 seconds.
Search: Posts Made By: Kayja
Forum: Lua/XML Help 03-18-11, 05:10 AM
Replies: 17
Views: 9,362
Posted By Kayja
I have a feeling he's got a random space...

I have a feeling he's got a random space somewhere, example (for OP mostly):

Will Work
f:SetAttribute("macrotext1", [[
/cast Frost Shock
/run MyButton:Hide()
]])

Will NOT...
Forum: Lua/XML Help 03-17-11, 06:57 AM
Replies: 1
Views: 3,960
Posted By Kayja
Duplicating a frame

I need to duplicate a frame, or take a "snapshot" of it when it's passed to a particular function, but I cannot seem to do it and need to fully recreate the frame and set all it's values using "Get"...
Forum: UI Screenshots, Feedback and Design Discussion 03-17-11, 06:40 AM
Replies: 1,556
Views: 839,753
Posted By Kayja
That's a good point, I never really thought about...

That's a good point, I never really thought about it that way... which is suprising for me as I'm a raider and I like anything that improves my reaction time. In fact thinking about it, it'll...
Forum: UI Screenshots, Feedback and Design Discussion 03-16-11, 01:19 PM
Replies: 1,556
Views: 839,753
Posted By Kayja
Done :) although still not sure...

Done :) although still not sure why!

http://i54.tinypic.com/10mjwhu_th.png (http://i54.tinypic.com/10mjwhu.png)
Forum: UI Screenshots, Feedback and Design Discussion 03-16-11, 08:17 AM
Replies: 1,556
Views: 839,753
Posted By Kayja
Just finishing up my unit frames and I'm not...

Just finishing up my unit frames and I'm not really sure where to put the pet frame. Because of the design & layout it's really hard to fit another frame in. Thinking of maybe just merging it into...
Forum: oUF (Otravi Unit Frames) 03-14-11, 03:14 PM
Replies: 4
Views: 5,252
Posted By Kayja
Ahh, that's makes sense and yes you're right I...

Ahh, that's makes sense and yes you're right I never registered events and even on my rewritten version I'm not using any and are just pulling threat from UnitDetailedThreatSituation with a low delay...
Forum: oUF (Otravi Unit Frames) 03-14-11, 11:40 AM
Replies: 4
Views: 5,252
Posted By Kayja
Thanks zork, I will do just that :) The problem...

Thanks zork, I will do just that :)

The problem was that Update from the AddElement didn't seem to fire more than once, I just couldn't get it to keep updating so it just did the update once and...
Forum: oUF (Otravi Unit Frames) 03-10-11, 08:11 AM
Replies: 4
Views: 5,252
Posted By Kayja
Can't get custom threat element working

Trying to write myself a very simple agro bar element, does nothing fancy as it's only for me, but I just cannot get it to show the bar. I originally tried using the Hide / Show features which...
Forum: Lua/XML Help 03-02-11, 06:36 PM
Replies: 2
Views: 3,561
Posted By Kayja
Got it sorted after your advise to look into the...

Got it sorted after your advise to look into the function that creates menu levels, and set up a pre-load of the menus for 5 levels deep. Turned out to be so simple in the end I actually feel a bit...
Forum: Lua/XML Help 03-02-11, 12:10 PM
Replies: 2
Views: 3,561
Posted By Kayja
Cannot change menu backdrops beyond level 2

I'm busy fine tweaking my UI and I noticed earlier that menus beyond level 2 were not styled properly with a black backdrop / border and instead were the default WoW style. I checked the coding of...
Forum: Lua/XML Help 02-25-11, 03:49 PM
Replies: 4
Views: 6,058
Posted By Kayja
Ahh I see, thank you for the explanation and the...

Ahh I see, thank you for the explanation and the new code!
Forum: Lua/XML Help 02-25-11, 12:09 PM
Replies: 4
Views: 6,058
Posted By Kayja
Yep, same thing with InCombatLockdown(). I get...

Yep, same thing with InCombatLockdown(). I get the "Interface action failed because of an AddOn", frame alpha is set to 1 however scale remains at 0.0001.

Edit:

Also tried adding another OnEvent...
Forum: Lua/XML Help 02-25-11, 11:36 AM
Replies: 4
Views: 6,058
Posted By Kayja
UnitAffectingCombat being weird

local f = CreateFrame("Frame", "hider")
local now = 0

local function check()
if UnitAffectingCombat("player") ~= nil then return 1 end
if UnitCastingInfo("player") ~= nil then return 1 end
return...
Forum: AddOn Help/Support 02-24-11, 05:24 PM
Replies: 3
Views: 8,089
Posted By Kayja
Thanks both! I'll give it a try next raid when I...

Thanks both! I'll give it a try next raid when I have 10 people to test it with.
Forum: AddOn Help/Support 02-24-11, 12:51 PM
Replies: 3
Views: 8,089
Posted By Kayja
Grid frame growth direction

Is it possible to get Grid to grow upwards rather than downwards? I tried fiddling with the group and layout anchors but they just seem to alter the growth of the names inside the frame, rather than...
Forum: Lua/XML Help 02-14-11, 10:40 AM
Replies: 1
Views: 3,663
Posted By Kayja
Nevermind all sorted, forgot to call...

Nevermind all sorted, forgot to call UpdateAddOnMemoryUsage().
Forum: Lua/XML Help 02-14-11, 10:34 AM
Replies: 1
Views: 3,663
Posted By Kayja
GetAddOnMemoryUsage... confused

Busy just writting up a little addon as replacement to SLDT which I just use to purely show a small strip on my MiniMap like: "x fps x ms x.x mb", so I shoved this little addon together below but for...
Forum: Lua/XML Help 05-10-09, 04:23 AM
Replies: 2
Views: 3,155
Posted By Kayja
Brilliant, thanks a bunch!

Brilliant, thanks a bunch!
Forum: Lua/XML Help 05-10-09, 03:33 AM
Replies: 2
Views: 3,155
Posted By Kayja
item strings and match/sub/find

If possible, could anyone please help me with patterns for .match .find or/and .sub as I just cannot understand patterns properly. What I basically want is a function that can rip the item name and...
Showing results 1 to 19 of 19