Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 150
Search took 0.01 seconds.
Search: Posts Made By: LudiusMaximus
Forum: AddOn Help/Support Today, 01:27 AM
Replies: 1
Views: 71
Posted By LudiusMaximus
As I have already told you...

As I have already told you (https://us.forums.blizzard.com/en/wow/t/changing-spell-sound-effect/481211/2?u=ludius-thunderlord) ;), you could try to hook PlaySound() as described here:...
Forum: Lua/XML Help 04-01-20, 07:52 AM
Replies: 2
Views: 451
Posted By LudiusMaximus
Hm, maybe the NormalTexture is not meant to be...

Hm, maybe the NormalTexture is not meant to be used like this for action bar buttons.
I found this work around:

local myButton = CreateFrame("CheckButton", nil,...
Forum: Lua/XML Help 04-01-20, 05:29 AM
Replies: 2
Views: 451
Posted By LudiusMaximus
CheckButton: PushedTexture not overlaying but replacing NormalTexture?

I want to emulate an action bar button:

local myButton = CreateFrame("CheckButton", nil, UIparent)
myButton:SetPoint("CENTER")
myButton:SetSize(50,...
Forum: Lua/XML Help 03-31-20, 08:27 AM
Replies: 15
Views: 301
Posted By LudiusMaximus
Ahhhh! Thank you so much! It turns out the layer...

Ahhhh! Thank you so much!

It turns out the layer of NineSlice.TopRightCorner is "OVERLAY", not "BORDER"!!
This is why I never had a chance! :D
Forum: Lua/XML Help 03-31-20, 08:20 AM
Replies: 15
Views: 301
Posted By LudiusMaximus
Sorry, but I have absolutely no idea what I am...

Sorry, but I have absolutely no idea what I am supposed to do with SetDrawLayer! :(

All I could come up with was this work around.

local oldX, oldY = 12, 24
local shrinkFactor =...
Forum: Lua/XML Help 03-31-20, 07:44 AM
Replies: 15
Views: 301
Posted By LudiusMaximus
Actually, I am getting very indeterministic...

Actually, I am getting very indeterministic results...

As I am trying to find the right offset and size it is sometimes drawn on top and sometimes drawn below the NineSlice border......
Forum: Lua/XML Help 03-31-20, 07:27 AM
Replies: 15
Views: 301
Posted By LudiusMaximus
Hm thanks, but could you please be a little more...

Hm thanks, but could you please be a little more specific?

Which is the LayeredRegion I should call SetDrawLayer() for?

The only texture I could think of was myFrame.NineSlice.TopRightCorner.

So I...
Forum: Lua/XML Help 03-31-20, 03:51 AM
Replies: 15
Views: 301
Posted By LudiusMaximus
May I ask a related follow-up question? I would...

May I ask a related follow-up question?

I would like to place a button divider texture in my frame:

local myFrame = CreateFrame("Frame", "cosFix_SetFactorFrame", UIparent,...
Forum: Lua/XML Help 03-28-20, 06:29 PM
Replies: 15
Views: 301
Posted By LudiusMaximus
Thanks for your reply! So it is a lot of tweaking...

Thanks for your reply! So it is a lot of tweaking after all, unless you find the Atlas name or the TexCoords anywhere. I learned a lot today! Thanks again! :-D
Forum: Lua/XML Help 03-28-20, 05:39 PM
Replies: 15
Views: 301
Posted By LudiusMaximus
Ah, thanks! I see that this is used quite a...

Ah, thanks! I see that this is used quite a lot.

But when I try to find the textures and coordinates used by ButtonFrameTemplate, I seem to run into a dead end...

In...
Forum: Lua/XML Help 03-28-20, 05:05 PM
Replies: 15
Views: 301
Posted By LudiusMaximus
Thanks so much (again)! :-) So it comes down to...

Thanks so much (again)! :-)
So it comes down to SetTexCoord() once more.


Can I ask a general question regarding this?

If I have a texture file
e.g....
Forum: Lua/XML Help 03-28-20, 10:05 AM
Replies: 15
Views: 301
Posted By LudiusMaximus
Overlapping NineSlice textures with ButtonFrameTemplate

I am using ButtonFrameTemplate for a frame.
But as my frame has a low height I get overlapping NineSlice textures resulting in the frame shaddows adding up.

https://i.imgur.com/gFQ7EJo.jpg

local...
Forum: Lua/XML Help 03-26-20, 07:14 AM
Replies: 6
Views: 212
Posted By LudiusMaximus
Ah, now I get it! Thank you very much!

Ah, now I get it! Thank you very much!
Forum: Lua/XML Help 03-26-20, 06:40 AM
Replies: 6
Views: 212
Posted By LudiusMaximus
OK, that's an idea. But let me ask...

OK, that's an idea.

But let me ask differently.

How can I achieve that the highlight Texture texture is shown as big as the normal Atlas texture?

XML:
<NormalTexture...
Forum: Lua/XML Help 03-26-20, 05:26 AM
Replies: 6
Views: 212
Posted By LudiusMaximus
Ah cool! Thanks! There is odly nothing about...

Ah cool! Thanks! There is odly nothing about these functions online...

Can anyone tell me why the Atlas texture is apparently always somewhat larger than the Texture texture?

local myButton =...
Forum: Lua/XML Help 03-26-20, 04:30 AM
Replies: 6
Views: 212
Posted By LudiusMaximus
Assign atlas texture to button in lua?

I found that the equivalent to xml

<Button name="myButton">
<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
<PushedTexture...
Forum: Site help, bugs, suggestions/questions 03-13-20, 07:00 AM
Replies: 11
Views: 1,459
Posted By LudiusMaximus
Cool, thanks a lot! :)

Cool, thanks a lot! :)
Forum: Site help, bugs, suggestions/questions 03-13-20, 02:35 AM
Replies: 11
Views: 1,459
Posted By LudiusMaximus
In case you have been hesitant to comply with my...

In case you have been hesitant to comply with my deletion request just because you could not also answer my other question regarding the retail/classic upload, just ignore the latter and only delete...
Forum: Lua/XML Help 03-05-20, 02:19 PM
Replies: 5
Views: 464
Posted By LudiusMaximus
I just discovered by accident that...

I just discovered by accident that
collectgarbage("collect")
at PLAYER_ENTERING_WORLD resolves the issue of my previous post.

Can anybody explain to me why this is so?
Forum: Lua/XML Help 03-05-20, 02:02 PM
Replies: 5
Views: 464
Posted By LudiusMaximus
A follow-up question, if I may: When I...

A follow-up question, if I may:

When I do
UIPanelWindows["SpellBookFrame"] = nil
I cannot toggle the SpellBook any more pressing "P" during combat.

Any idea how to achieve this?
Forum: Lua/XML Help 03-04-20, 02:47 PM
Replies: 5
Views: 464
Posted By LudiusMaximus
Thanks a lot! Exactly what I was looking for!:)

Thanks a lot! Exactly what I was looking for!:)
Forum: Lua/XML Help 02-26-20, 03:25 AM
Replies: 5
Views: 464
Posted By LudiusMaximus
How to prevent automated HideUIPanel()?

While at a vendor, clicking a profession in the SpellBookFrame (thus opening TradeSkillFrame) automatically closes the SpellBookFrame with a call of HideUIPanel().

I would like to suppress this...
Forum: Lua/XML Help 02-23-20, 05:23 AM
Replies: 7
Views: 917
Posted By LudiusMaximus
Hey, thanks! I did not know of this function....

Hey, thanks! I did not know of this function. With it I do not have to manually hardcode the offset any more.
Forum: Lua/XML Help 02-22-20, 07:33 AM
Replies: 7
Views: 917
Posted By LudiusMaximus
As of 8.3 you need to...

As of 8.3 you need to do
scannerTooltip:SetInventoryItem('player', itemSlot:GetID()+51)
Forum: Lua/XML Help 02-13-20, 01:38 AM
Replies: 9
Views: 428
Posted By LudiusMaximus
Wow, that's impressive! Is this going into some...

Wow, that's impressive! Is this going into some addon or what are you compiling this for?
Showing results 1 to 25 of 150