Showing results 1 to 25 of 119
Search took 0.02 seconds.
Search: Posts Made By: Lombra
Forum: Tutorials & Other Helpful Info. Today, 10:39 AM
Replies: 5
Views: 150
Posted By Lombra
Not at all. He's merely declaring the functions...

Not at all. He's merely declaring the functions separately.
Forum: Lua/XML Help Yesterday, 09:29 AM
Replies: 5
Views: 182
Posted By Lombra
local metatable =...

local metatable = getmetatable(CreateFrame("Frame"))
Note that each object type (Frame, Button, Slider, etc) has its own metatable.
Forum: General Authoring Discussion 03-30-14, 05:19 PM
Replies: 2
Views: 259
Posted By Lombra
Perhaps using a scroll frame? Set the texture as...

Perhaps using a scroll frame? Set the texture as the scroll child or so.
Forum: General Authoring Discussion 03-25-14, 04:54 AM
Replies: 4
Views: 210
Posted By Lombra
Not reastically, no. Would involve some extensive...

Not reastically, no. Would involve some extensive hacking. Or maybe it's not that hard, Idk.
Forum: General Authoring Discussion 03-24-14, 05:49 AM
Replies: 7
Views: 422
Posted By Lombra
I have no idea, but I wouldn't be surprised if...

I have no idea, but I wouldn't be surprised if there wasn't. If you want to make real custom action buttons outside of the action scope (in API terms), it's suddenly a whole other deal. There's lots...
Forum: Graphics Help 03-15-14, 12:49 PM
Replies: 5
Views: 895
Posted By Lombra
I think that :SetTexture returns true if the...

I think that :SetTexture returns true if the texture was found. It returns true under some circumstances, at least. Not 100% sure that it's that.
Forum: Lua/XML Help 03-15-14, 12:46 PM
Replies: 19
Views: 942
Posted By Lombra
It's trying to access BasicUI.db, which gets...

It's trying to access BasicUI.db, which gets defined in BasicUI.OnInitialize, but that doesn't get called until some time after all of your addon files have loaded. Namely, when the ADDON_LOADED...
Forum: Lua/XML Help 03-14-14, 06:36 AM
Replies: 9
Views: 632
Posted By Lombra
Don't know about "better" way, but slightly...

Don't know about "better" way, but slightly prettier, perhaps.
local frame =...
Forum: Lua/XML Help 03-14-14, 06:22 AM
Replies: 15
Views: 531
Posted By Lombra
I don't know what secret messages I've missed...

I don't know what secret messages I've missed here, but couldn't you instead mute sounds in WoW, make queue pop sounds play on master channel (which ignores mute) and have the app forward any sounds...
Forum: General Authoring Discussion 02-14-14, 07:43 PM
Replies: 27
Views: 1,572
Posted By Lombra
If you check the exact line that I linked...

If you check the exact line that I linked (highlighted), you will see that self is passed to filterFunc, which is the function that you register using ChatFrame_AddMessageEventFilter....
Forum: General Authoring Discussion 02-14-14, 05:07 PM
Replies: 27
Views: 1,572
Posted By Lombra
http://wow.go-hero.net/framexml/17688/ChatFrame.lu...

http://wow.go-hero.net/framexml/17688/ChatFrame.lua#2840
Forum: General Authoring Discussion 02-12-14, 09:06 AM
Replies: 27
Views: 1,572
Posted By Lombra
Chat filter functions receives the [chat]frame as...

Chat filter functions receives the [chat]frame as the first argument and also MessageEventHandler is called as a result of OnEvent, so I don't believe you gain anything by hooking OnEvent directly.
Forum: Lua/XML Help 02-09-14, 03:58 PM
Replies: 3
Views: 410
Posted By Lombra
If you just want to toggle a frame, do...

If you just want to toggle a frame, do this:
frame:SetShown(not frame:IsShown())
otherwise I don't understand.
Forum: Lua/XML Help 02-05-14, 09:26 AM
Replies: 11
Views: 832
Posted By Lombra
There is an out-of-game way to achieve this BUT...

There is an out-of-game way to achieve this BUT it will only work as long as you do not login on both accounts at the same time. If you do, bad things will happen, and horrible things can happen. (as...
Forum: Lua/XML Help 01-29-14, 04:06 PM
Replies: 13
Views: 742
Posted By Lombra
But for any EU realm, the EU realm list will be...

But for any EU realm, the EU realm list will be used, no? Am I missing the point?
Forum: Lua/XML Help 01-22-14, 05:13 PM
Replies: 24
Views: 1,101
Posted By Lombra
_G is a table in the global scope (or just "it's...

_G is a table in the global scope (or just "it's a global table"), but _G also *is* the entire global scope. To access variables between addons, you must have some global reference to it, yes.

Did...
Forum: Lua/XML Help 01-22-14, 10:59 AM
Replies: 2
Views: 240
Posted By Lombra
variable = not variable

variable = not variable
Forum: Lua/XML Help 01-22-14, 09:37 AM
Replies: 8
Views: 400
Posted By Lombra
I don't understand. What do you want to do,...

I don't understand. What do you want to do, exactly?
Forum: Lua/XML Help 01-22-14, 08:40 AM
Replies: 10
Views: 412
Posted By Lombra
I once did this to resize the stance button...

I once did this to resize the stance button borders:
for i = 1, 10 do
local btnBg = _G["StanceButton"..i.."NormalTexture2"]
btnBg:SetPoint("TOPLEFT", -12, 11)
btnBg:SetPoint("BOTTOMRIGHT", 12,...
Forum: General Authoring Discussion 01-21-14, 08:45 AM
Replies: 3
Views: 302
Posted By Lombra
Hide frame on escape but not on control lost

I use UISpecialFrames to make my frames hide on escape. (and some other actions) I like this feature. What I don't like is how these frames also gets hidden on PLAYER_CONTROL_LOST. Normally this is...
Forum: General Authoring Discussion 01-21-14, 05:11 AM
Replies: 13
Views: 589
Posted By Lombra
I know UIFrameFlash used to cause talent taint....

I know UIFrameFlash used to cause talent taint. There was a big fuss. Not sure if they fixed that. Search your addon folder for any calls to...
Forum: Lua/XML Help 01-19-14, 02:10 PM
Replies: 5
Views: 495
Posted By Lombra
I would wildly guess that a secure hook would not...

I would wildly guess that a secure hook would not be necessary. Just go without if you don't/until you do notice any taint.
Forum: Lua/XML Help 01-08-14, 05:46 PM
Replies: 5
Views: 686
Posted By Lombra
Is that really a fact? I can not recall my...

Is that really a fact? I can not recall my assumption ever having failed me before.
Forum: Lua/XML Help 01-03-14, 04:25 PM
Replies: 5
Views: 686
Posted By Lombra
As far as I know, yes.

As far as I know, yes.
Forum: AddOn Help/Support 12-19-13, 09:47 AM
Replies: 10
Views: 777
Posted By Lombra
Ok, groupFilter seemed to do the...

Ok, groupFilter seemed to do the trick.
GridLayout:AddLayout("Role sort", {
{
groupFilter = "1,2,3,4,5,6,7,8",
groupBy = "ASSIGNEDROLE",
groupingOrder =...
Showing results 1 to 25 of 119