Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Fizzlemizz
Forum: PTR API and Graphics Changes Yesterday, 01:10 AM
Replies: 17
Views: 2,029
Posted By Fizzlemizz
Once again, not mine. I don't have beta...

Once again, not mine. I don't have beta access.

This would need to add some "pass-through" methods to the parent frame if you are modifying the backdrop during play and want to maintain the single...
Forum: Lua/XML Help 08-02-20, 11:33 PM
Replies: 8
Views: 1,528
Posted By Fizzlemizz
SavedVariables are global, TableOfItems is not...

SavedVariables are global, TableOfItems is not really a unique enough name for a global. Same goes for frame names, "myTest" is not really a unique enough name for a global. You might be binding to...
Forum: PTR API and Graphics Changes 08-02-20, 10:08 AM
Replies: 17
Views: 2,029
Posted By Fizzlemizz
Test and add a backdrop frame in the OnLoad...

Test and add a backdrop frame in the OnLoad script:

This adds an extra frame for the backdrop rather than just inheriting the template.
<Frame>
<Scripts>
<OnLoad>
if...
Forum: General Authoring Discussion 08-02-20, 10:02 AM
Replies: 3
Views: 246
Posted By Fizzlemizz
Possibly UPDATE_CHAT_WINDOWS...

Possibly UPDATE_CHAT_WINDOWS (https://wow.gamepedia.com/UPDATE_CHAT_WINDOWS)
Forum: PTR API and Graphics Changes 07-28-20, 10:18 AM
Replies: 17
Views: 2,029
Posted By Fizzlemizz
Same as normal. The Mixin that is applied when...

Same as normal. The Mixin that is applied when using the template applies all the pre 9x backdrop methods to the frame. Nothing really changes once you've inherited the template.

if not f.Backdrop...
Forum: Lua/XML Help 07-24-20, 12:28 PM
Replies: 8
Views: 987
Posted By Fizzlemizz
TargetFrame:SetScript("OnLoad", test) Given this...

TargetFrame:SetScript("OnLoad", test)
Given this is a Blizzard frame and non "load-on-demand" Blizzard code loads before 3rd party addons, by the time your code tries to set the TargetFrame OnLoad...
Forum: Lua/XML Help 07-24-20, 11:16 AM
Replies: 8
Views: 987
Posted By Fizzlemizz
Does the target have a buff or is it a debuff...

Does the target have a buff or is it a debuff (something bad you applied)?
/run print("UnitBuff", UnitBuff("target",1), "UnitDebuff", UnitDebuff("target",1))
Forum: Lua/XML Help 07-24-20, 10:48 AM
Replies: 8
Views: 987
Posted By Fizzlemizz
Do you need to check for a buff? It seems you...

Do you need to check for a buff? It seems you could alter the frames regardless of buff so long as you only do it once for each (assuming frame:CreateBeautyBorder creates a new frame each...
Forum: Lua/XML Help 07-23-20, 11:41 AM
Replies: 8
Views: 987
Posted By Fizzlemizz
The function is called only when the frames...

The function is called only when the frames .threatNumericIndicator shows/hides. Try running the function after hooking it to set an initial state.

Slight change to SkinTarget:
local function...
Forum: PTR API and Graphics Changes 07-20-20, 08:22 PM
Replies: 17
Views: 2,029
Posted By Fizzlemizz
Using: BackdropTemplateMixin and...

Using:
BackdropTemplateMixin and "BackdropTemplate"
Allows the same code to exist/run in both 8.x and 9+ versions ie. if the mixin doesn't exist, don't use the template and if it does, magic it in.
Forum: PTR API and Graphics Changes 07-20-20, 06:21 PM
Replies: 17
Views: 2,029
Posted By Fizzlemizz
local f = CreateFrame("Frame", nil, self,...

local f = CreateFrame("Frame", nil, self, BackdropTemplateMixin and "BackdropTemplate")
Testing for BackdropTemplateMixin is to differentiate between 9 and pre 9.

Then use as normal:
f:SetBackdrop({...
Forum: PTR General Discussion 07-17-20, 06:27 PM
Replies: 4
Views: 1,424
Posted By Fizzlemizz
This would be nice and fingers will be crossed.

This would be nice and fingers will be crossed.
Forum: General Authoring Discussion 07-15-20, 12:59 PM
Replies: 5
Views: 1,188
Posted By Fizzlemizz
SetRaidTarget("unit", 0) See: SetRaidTarget...

SetRaidTarget("unit", 0)

See: SetRaidTarget (https://wow.gamepedia.com/API_SetRaidTarget)
Forum: AddOn Help/Support 07-15-20, 09:34 AM
Replies: 11
Views: 1,200
Posted By Fizzlemizz
A single frame can monitor multiple events or in...

A single frame can monitor multiple events or in this case, the same event for more than one unit.

local function AuraCheck(self, event, ...)
local unit = ...
if unit == "target"...
Forum: Lua/XML Help 07-13-20, 10:08 AM
Replies: 7
Views: 1,123
Posted By Fizzlemizz
My bad, I was thinking of my derived ColourPicker...

My bad, I was thinking of my derived ColourPicker button.

I guess the question becomes, what are you doing in ShowColorPicker to gather the variables you want to pass that you couldn't do directly...
Forum: Lua/XML Help 07-12-20, 08:09 PM
Replies: 7
Views: 1,123
Posted By Fizzlemizz
1. The vararg needs to go at th end. local...

1. The vararg needs to go at th end.
local function ShowColorPicker(changedCallback, r, g, b, a)
....
end


local myPackedColor = {1, 1, 1, 1};
ShowColorPicker(myColorCallback,...
Forum: Lua/XML Help 06-30-20, 03:40 AM
Replies: 15
Views: 894
Posted By Fizzlemizz
It depends on how much "extra" processing you...

It depends on how much "extra" processing you might add to the event call(s).

On it's own it's probably not an overly great burden.
Forum: Lua/XML Help 06-30-20, 03:27 AM
Replies: 15
Views: 894
Posted By Fizzlemizz
RegisterAllEvents...

RegisterAllEvents (https://wow.gamepedia.com/API_Frame_RegisterAllEvents)
/etrace might also be useful.
Forum: Lua/XML Help 06-30-20, 01:25 AM
Replies: 2
Views: 502
Posted By Fizzlemizz
At it's simplest, you have a table of "active"...

At it's simplest, you have a table of "active" frames. As they become no-longer "active" you move the frame to a "pool" table of inactive frames (delete the frame reference from the active table and...
Forum: Lua/XML Help 06-21-20, 11:57 AM
Replies: 8
Views: 1,004
Posted By Fizzlemizz
local s = Status(unit) if s then return...

local s = Status(unit)
if s then
return s
end
local r,g,b = ClassColor(unit)
local string1 = string.format('|cff%02x%02x%02x%s|r %s%s%s|', r,g,b,Name(unit),Angle(AFK(unit) or DND(unit)))
local...
Forum: Lua/XML Help 06-21-20, 11:06 AM
Replies: 8
Views: 1,004
Posted By Fizzlemizz
I don't know PitBull so I'm not sure what...

I don't know PitBull so I'm not sure what Status() or Angle() is doing but my best guess is that it has more than 1 return and all but the first one are being cut off because it's no longer the last...
Forum: AddOn Search/Requests 06-17-20, 12:47 PM
Replies: 6
Views: 988
Posted By Fizzlemizz
Absolutely. The manual method becomes handy if...

Absolutely. The manual method becomes handy if say, you just want to show gold only. After the first million or so, silver and copper become pretty irrelevant ;).
Forum: AddOn Search/Requests 06-17-20, 12:03 AM
Replies: 6
Views: 988
Posted By Fizzlemizz
return...

return calc.."|TInterface\\MoneyFrame\\UI-GoldIcon:0:0:2:0|t "..silver.."|TInterface\\MoneyFrame\\UI-SilverIcon:0:0:2:0|t "..copper.."|TInterface\\MoneyFrame\\UI-CopperIcon:0:0:2:0|t"

That's...
Forum: Lua/XML Help 06-14-20, 02:55 PM
Replies: 2
Views: 642
Posted By Fizzlemizz
If this is all the code then you're probably...

If this is all the code then you're probably getting an error because of the missing bracket after the last "end" to close the SetScript call.

local UIConfig =...
Forum: Lua/XML Help 06-05-20, 10:46 AM
Replies: 1
Views: 613
Posted By Fizzlemizz
You need to reset the points after the box is...

You need to reset the points after the box is checked/unchecked.

Something like:

CritFrame:Hide()
HitFrame:ClearAllPoints()
HitFrame:SetPoint("TOPLEFT", APFrame, "BOTTOMLEFT")

or
CritFrame:Show()
Showing results 1 to 25 of 500