Showing results 1 to 23 of 23
Search took 0.00 seconds.
Search: Posts Made By: Ethly
Forum: Lua/XML Help 12-17-19, 06:54 AM
Replies: 22
Views: 12,457
Posted By Ethly
Is it correct that I need to use...

Is it correct that I need to use SecureAuraHeaderTemplate if I want to right-click interaction (remove my buff)? If I don't need that and just need to display list of buffs on my raid frame, I can...
Forum: Lua/XML Help 02-16-19, 03:09 PM
Replies: 4
Views: 2,204
Posted By Ethly
Yes, it did not help.

Yes, it did not help.
Forum: Lua/XML Help 02-16-19, 12:34 PM
Replies: 4
Views: 2,204
Posted By Ethly
I solved it by inheriting from...

I solved it by inheriting from ActionBarButtonTemplate. Unfortunately I couldn't figure out how I could use OnLoad without tainting things, so I did initialization from a completely different frame....
Forum: Lua/XML Help 02-16-19, 09:08 AM
Replies: 4
Views: 2,204
Posted By Ethly
Taint when using ActionButtonTemplate

Here's the simplest code that reproduces this bug:
<CheckButton name="MUShieldSlam" parent="UIParent" inherits="ActionButtonTemplate">
<Anchors>
<Anchor...
Forum: Lua/XML Help 02-15-19, 05:49 PM
Replies: 2
Views: 1,344
Posted By Ethly
Here's my code and it does not work: <CheckButton...

Here's my code and it does not work:
<CheckButton parent="UIParent">
<Size x="28" y="28"/>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="PlayerFrame" relativePoint="TOPLEFT" x="108"...
Forum: Lua/XML Help 02-12-19, 02:08 PM
Replies: 2
Views: 1,344
Posted By Ethly
How does SetActionUIButton work?

I was analyzing ActionButton.lua and I've found that Blizzard uses something different for handling their action bar cooldowns instead of events (event code is there, but the following code suggests...
Forum: Lua/XML Help 02-09-19, 05:47 PM
Replies: 2
Views: 3,304
Posted By Ethly
UNIT_HEALTH vs UNIT_HEALTH_FREQUENT vs combat log parsing

I have the following snippet to test:
local frame = CreateFrame("Frame");
frame:RegisterUnitEvent("UNIT_HEALTH", "player");
frame:RegisterUnitEvent("UNIT_MAXHEALTH",...
Forum: Lua/XML Help 01-26-19, 06:38 AM
Replies: 2
Views: 3,688
Posted By Ethly
Thanks a lot, I'll look into it!

Thanks a lot, I'll look into it!
Forum: Lua/XML Help 01-25-19, 01:43 PM
Replies: 2
Views: 3,688
Posted By Ethly
Simple custom nameplates

I'm trying to figure out how to replace Blizzard's enemy nameplates with my own ones. I know how to create frames, but I can't understand how to hook my frames, so they will replace Blizzard...
Forum: Lua/XML Help 11-22-18, 07:52 AM
Replies: 1
Views: 1,284
Posted By Ethly
How to determine if it's safe to overwrite global Blizzard function

I want to rewrite global functions LocalizeFrames and CombatFeedback_OnCombatEvent. I can do just that:
function LocalizeFrames()
...
end

function CombatFeedback_OnCombatEvent(self, event, flags,...
Forum: Lua/XML Help 11-16-18, 01:03 PM
Replies: 13
Views: 4,355
Posted By Ethly
Here's full working code which rotates the outer...

Here's full working code which rotates the outer frame (bgFrame) but not the inner model frame.

local bgFrame = CreateFrame("Frame", nil, UIParent);
bgFrame:SetPoint("CENTER", 0,...
Forum: Lua/XML Help 11-16-18, 10:30 AM
Replies: 13
Views: 4,355
Posted By Ethly
Are you suggesting to extract model file from...

Are you suggesting to extract model file from game data and somehow add it into my addon as a separate model? I have no idea how to do that, honestly. Never even saw addon with custom 3D model, I...
Forum: Lua/XML Help 11-16-18, 07:15 AM
Replies: 13
Views: 4,355
Posted By Ethly
It's a pity, was expecting to make awesome 3D UI...

It's a pity, was expecting to make awesome 3D UI and now I'll have to use a static pictures :( What's strange is that I can rotate creature models (Arthas or Alextraza) just fine! I don't really see...
Forum: Lua/XML Help 11-10-18, 08:21 AM
Replies: 13
Views: 4,355
Posted By Ethly
I have troubles rotating model over Z axe. Here's...

I have troubles rotating model over Z axe. Here's my code to show icicle:


local frame = CreateFrame("PlayerModel", "IciclesFrame",...
Forum: Lua/XML Help 10-06-18, 09:17 AM
Replies: 13
Views: 4,355
Posted By Ethly
I don't meant to place them into 3D world, just...

I don't meant to place them into 3D world, just on screen. Built-in icicles are nice, but they are hard to watch when you're surrounded by combat stuff. I want something similar, but always visible.
Forum: Lua/XML Help 10-06-18, 07:38 AM
Replies: 13
Views: 4,355
Posted By Ethly
Well, surprisingly I was able to use WeakAuras to...

Well, surprisingly I was able to use WeakAuras to find that model. It's spells/cfx_mage_iciclemastery_launchedmissile.m2 and considering that WeakAuras can display it, I should be able too.
Forum: Lua/XML Help 10-06-18, 07:22 AM
Replies: 13
Views: 4,355
Posted By Ethly
Show frost mage icicle as part of UI

I want to write addon which will show frost mage icicles around the character (at predetermined positions of the screen). I want them to rotate slowly with some animation (and being 3D, of course)....
Forum: Lua/XML Help 03-24-18, 01:04 AM
Replies: 4
Views: 2,484
Posted By Ethly
Thanks. Currently I'm making specifically raid...

Thanks. Currently I'm making specifically raid frames (or party frames if I'm in party) based on SecureGroupHeaderTemplate and they seem to work with OnAttributeChanged way. If someone joins, each...
Forum: Lua/XML Help 03-24-18, 12:29 AM
Replies: 2
Views: 1,909
Posted By Ethly
It's not very convenient for addon user, it takes...

It's not very convenient for addon user, it takes away one macro slot, it won't work if all macro slots are used.
Forum: Lua/XML Help 03-24-18, 12:02 AM
Replies: 2
Views: 1,909
Posted By Ethly
Can I make custom draggable action bar button?

Currently I'm using macro with something like /run MyFunction() and putting it into my action bar. Is it possible to create a button which I can put into standard action bar without using macro slot...
Forum: Lua/XML Help 03-19-18, 03:51 AM
Replies: 1
Views: 1,962
Posted By Ethly
What's the most performant way to draw unit frame health bar?

I want to display unit frame with health, incoming heal, heal absorb, damage absorb, and health deficit. Basically it's 5 adjacent rectangles with different colors. Currently I'm considering 3...
Forum: Lua/XML Help 03-15-18, 03:49 PM
Replies: 4
Views: 2,484
Posted By Ethly
It seems that the proper way to update unit...

It seems that the proper way to update unit information is OnAttributeChanged handler. Something like
function MyFrames_UnitTemplate_OnAttributeChanged(self, attributeName)
if attributeName ==...
Forum: Lua/XML Help 03-15-18, 09:01 AM
Replies: 4
Views: 2,484
Posted By Ethly
Accessing fontstring from secure snippet

Hello. I'm trying to implement simple raid frames. Here's what I've come up with so far:

XML:

<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Frame name="MyFrames_UnitTemplate"...
Showing results 1 to 23 of 23