Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 75
Search took 0.00 seconds.
Search: Posts Made By: Zax
Forum: Lua/XML Help 09-27-20, 01:07 PM
Replies: 5
Views: 440
Posted By Zax
Thank you Rilgamon. I tried your script but...

Thank you Rilgamon. I tried your script but "reason" is NIL when the addon TOC interface is 9.x on WoW Retail (8.x).
I wanted to compare an addon TOC interface number with WoW version number but I...
Forum: Lua/XML Help 09-27-20, 01:13 AM
Replies: 5
Views: 440
Posted By Zax
OK, so is there another way to get this value?

OK, so is there another way to get this value?
Forum: Lua/XML Help 09-26-20, 02:00 PM
Replies: 5
Views: 440
Posted By Zax
How to read "Interface" TOC field?

Hello,

Is there a way to read "Interface" field in the TOC file of an addon?
I tried:
GetAddOnMetadata(myAddonName, "Interface")
but only "nil" is returned.

Thanks.
Forum: PTR API and Graphics Changes 08-04-20, 11:36 AM
Replies: 29
Views: 13,314
Posted By Zax
Great! Now I just have to use this code on...

Great!

Now I just have to use this code on OnLoad of my old frames, without inherits="BackdropTemplate" and it works on both 8.x and 9.0 versions:
---------------------------------- testing WoW...
Forum: PTR API and Graphics Changes 08-03-20, 12:54 AM
Replies: 29
Views: 13,314
Posted By Zax
Nice trick, thank you :)

Nice trick, thank you :)
Forum: PTR API and Graphics Changes 08-02-20, 04:43 AM
Replies: 29
Views: 13,314
Posted By Zax
And what about Classic? Is Blizzard planning to...

And what about Classic? Is Blizzard planning to change SetBackdrop() in Classic also?

As I am actually in the process of update my addons to 9.x, I would like some of them to work in Classic.
The...
Forum: PTR API and Graphics Changes 07-28-20, 12:26 PM
Replies: 29
Views: 13,314
Posted By Zax
Nice, I didn't understand this point. Thank you...

Nice, I didn't understand this point.

Thank you very much :)
Forum: PTR API and Graphics Changes 07-28-20, 10:01 AM
Replies: 1
Views: 1,396
Posted By Zax
Forget my question: its was an old bug... Since...

Forget my question: its was an old bug...
Since 8.2, OptionsCheckButtonTemplate needs a <OnClick> handler.

Solved.
Forum: PTR API and Graphics Changes 07-28-20, 09:03 AM
Replies: 29
Views: 13,314
Posted By Zax
I don't understand how could I apply alpha to a...

I don't understand how could I apply alpha to a texture/background using this new syntax:
f.Backdrop = _G[name.."Backdrop"] or CreateFrame("Frame", name.."Backdrop", f,...
Forum: PTR API and Graphics Changes 07-28-20, 08:44 AM
Replies: 1
Views: 1,396
Posted By Zax
CheckButton error en 9.01

Hello,

Testing addon on beta (9.01), I got an error when clicking on CheckButton defined as follow:
<CheckButton name="Ck_cfg_sound_Chk" inherits="OptionsCheckButtonTemplate">

Error...
Forum: PTR API and Graphics Changes 07-19-20, 11:53 PM
Replies: 29
Views: 13,314
Posted By Zax
Sorry, I'm talking about the beta (9.x).

Sorry, I'm talking about the beta (9.x).
Forum: PTR API and Graphics Changes 07-19-20, 09:42 AM
Replies: 29
Views: 13,314
Posted By Zax
Thank you very much.

Thank you very much.
Forum: PTR API and Graphics Changes 07-19-20, 08:43 AM
Replies: 29
Views: 13,314
Posted By Zax
SetBackdropBorderColor removed in 9.0?

Hello,
While testing one of my addons on the PTR server, I got this error:
attempt to call method 'SetBackdropBorderColor' (a nil value)

It's in a frame script, from an XML...
Forum: Lua/XML Help 05-26-20, 09:10 AM
Replies: 4
Views: 1,108
Posted By Zax
Great, just what I needed :) Thank you very much...

Great, just what I needed :)
Thank you very much Ketho!
Forum: Lua/XML Help 05-26-20, 08:44 AM
Replies: 4
Views: 1,108
Posted By Zax
Well, local r, g, b =...

Well,
local r, g, b = Chat_GetChannelColor(ChatTypeInfo.CHANNEL1)
works, but I'm unable to know the name of indexed chans, aka "CHANNELX"

Besides, UPDATE_CHAT_COLOR only returns lots of nil...
Forum: Lua/XML Help 05-26-20, 03:46 AM
Replies: 4
Views: 1,108
Posted By Zax
How to get a channel chat color?

Hello,

I found ChangeChatColor("channelname", red, green, blue) tu change a channel chat color, but I didn't find how to retreive a channel's color, something like:
r,g,b =...
Forum: Lua/XML Help 02-19-20, 07:29 AM
Replies: 5
Views: 635
Posted By Zax
Thank you for your answers :) I finally use:...

Thank you for your answers :)

I finally use: name, realm = UnitFullName(unit), in order to have the "condensed" form of server name, without space.
Forum: Lua/XML Help 02-18-20, 10:08 AM
Replies: 5
Views: 635
Posted By Zax
OK, so if I well understand, the only way is to...

OK, so if I well understand, the only way is to loop on GetHomePartyInfo() result?
I can't check right now but what happen if, let's say, "Leroy" from Kirin Tor, and "Leroy" from Aggramar are in the...
Forum: Lua/XML Help 02-18-20, 09:24 AM
Replies: 5
Views: 635
Posted By Zax
Party members with server name?

Hello,

Is there a way to retreive party members' name with realm name (something like "Leroy-KirinTor")?
API GetHomePartyInfo() only returns names.

Thanks.
Forum: Lua/XML Help 10-27-19, 06:19 AM
Replies: 3
Views: 911
Posted By Zax
It works :) Thanks.

It works :)
Thanks.
Forum: Lua/XML Help 10-26-19, 09:55 AM
Replies: 3
Views: 911
Posted By Zax
Binding a SecureActionButton

Hello,

I know how to create basic bindings with a Bindings.xml file, like this:
<Bindings>
<Binding name="SOMETHING" header="XXX">
MyAddon.MyFunction();
</Binding>
</Bindings>
but I don't...
Forum: Lua/XML Help 10-20-19, 01:34 AM
Replies: 2
Views: 693
Posted By Zax
All is said. Thank you.

All is said.

Thank you.
Forum: Lua/XML Help 10-19-19, 06:39 AM
Replies: 2
Views: 693
Posted By Zax
Classic: IsRaidMarkerActive() error?

Hello,

I use IsRaidMarkerActive(), found in Blizzard_CompactRaidFrame 8.2.5 / FrameManager.lua, without problem on the 8.2.5 version, but it causes the following lua error on Classic:

attempt to...
Forum: General Authoring Discussion 10-07-19, 02:36 AM
Replies: 7
Views: 1,922
Posted By Zax
Right! I just realised this point. :( @MooreaTv:...

Right! I just realised this point. :(

@MooreaTv: yep, that what I finally did, but the effect is a little creepy.
Anyhow, thanks for your answers.
Forum: General Authoring Discussion 10-05-19, 02:58 AM
Replies: 7
Views: 1,922
Posted By Zax
Sorry, I wasn't very clear: I would like to scale...

Sorry, I wasn't very clear: I would like to scale the frame and its content.
It actually works as intended if I manually perform:
frame:SetScale(0.8);

But my handler button doesn't scale the frame's...
Showing results 1 to 25 of 75