Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 07-30-21, 06:41 PM
Replies: 11
Views: 421
Posted By Fizzlemizz
It might be better to watch the 2.5.2 PTR and how...

It might be better to watch the 2.5.2 PTR and how it progresses.
Forum: Lua/XML Help 07-22-21, 11:11 AM
Replies: 4
Views: 269
Posted By Fizzlemizz
Presumably you would be doing that as part of...

Presumably you would be doing that as part of initialising the list with it's data.
Forum: Lua/XML Help 07-21-21, 10:27 AM
Replies: 4
Views: 269
Posted By Fizzlemizz
fSlider:SetThumbTexture("pathToMyAddon.tga") local...

fSlider:SetThumbTexture("pathToMyAddon.tga")
local t = fSlider:GetThumbTexture()
t:SetTexCoord(0.25, 0.75, 0.125, 0.875)
Forum: Lua/XML Help 07-18-21, 01:08 PM
Replies: 5
Views: 503
Posted By Fizzlemizz
The function for a slash command receives a...

The function for a slash command receives a single string parameter. If you want to interpret that into say commmands and parameters, you need to break down the string that is passed...
Forum: Lua/XML Help 07-18-21, 10:15 AM
Replies: 5
Views: 503
Posted By Fizzlemizz
What function did you add to SlashCmdList to be...

What function did you add to SlashCmdList to be called by your /xxx command? You could just use that.

SLASH_MYSLASH1 = "/abc"
SlashCmdList.MYSLASH = function(msg)
...
end
-- Testing...
Forum: General Authoring Discussion 07-18-21, 12:44 AM
Replies: 2
Views: 360
Posted By Fizzlemizz
The Macro editing frame is part of a Blizzard...

The Macro editing frame is part of a Blizzard addon that is Load On Demeand ie. the MacroFrame isn't created until you type /macro. Running the script or the code in your addon before using /macro...
Forum: Lua/XML Help 07-11-21, 08:43 PM
Replies: 4
Views: 409
Posted By Fizzlemizz
<Texture name="MyHealPredictionBarTemplate"...

<Texture name="MyHealPredictionBarTemplate" virtual="true" file="Interface\TargetingFrame\UI-StatusBar">
<Color r="0.0" g="0.827" b="0.765"/>
</Texture>

in UnitFrameUtil_UpdateFillBarBase it does...
Forum: Lua/XML Help 07-11-21, 04:20 PM
Replies: 4
Views: 409
Posted By Fizzlemizz
Bliz. unit frames are configured using the...

Bliz. unit frames are configured using the UnitFrame_Initialize function. If the unit has a myHealPredictionBar, it gets passed to this function as one of it's parameters which is assigned...
Forum: Lua/XML Help 07-05-21, 10:35 AM
Replies: 4
Views: 373
Posted By Fizzlemizz
FCF_ResetChatWindows() For the tab you could try...

FCF_ResetChatWindows()
For the tab you could try something like
local tab = _G[frame:GetName().."Tab"]
tab:ClearAllPoints()
tab:SetPoint("point", frame, "topoint", x, y)


But I'm not sure if the tab...
Forum: Lua/XML Help 07-02-21, 11:05 PM
Replies: 5
Views: 505
Posted By Fizzlemizz
I had to change some fontobjects you created to...

I had to change some fontobjects you created to use GameFontNormal so I'm not sure about the actual EditBox size but that's another thing this might hightlight.

In your PLAYER_LOGIN you can...
Forum: General Authoring Discussion 07-02-21, 07:37 AM
Replies: 4
Views: 666
Posted By Fizzlemizz
It anchors the texture to the same points as the...

It anchors the texture to the same points as the parent frame. The same as

p.Texture:SetPoint("TOPLEFT", p)
p.Texture:SetPoint("BOTTOMRIGHT", p)
Forum: Lua/XML Help 07-02-21, 02:37 AM
Replies: 5
Views: 505
Posted By Fizzlemizz
One other possibility, if your addon is LOD (eg....

One other possibility, if your addon is LOD (eg. a config. addon loaded via a slash command or some other) then it might never see the "PLAYER_LOGIN" event.
Forum: Lua/XML Help 07-02-21, 02:16 AM
Replies: 5
Views: 505
Posted By Fizzlemizz
In your setup you're not initialising the editbox...

In your setup you're not initialising the editbox with any text:
NewbDevBoxInterfaceFrame.ScaleTextBox:SetText(NewbDevBoxOptionsTable.ButtonFrameScale)

But then again, your NewbDevBoxOptionsTable is...
Forum: Lua/XML Help 06-28-21, 01:08 PM
Replies: 13
Views: 840
Posted By Fizzlemizz
I not sure what the intended final outcome is...

I not sure what the intended final outcome is over and above what can be achieved with the regular bags or, whether part of what you are doing is because you're figuring things out so, this is a...
Forum: Lua/XML Help 06-27-21, 07:14 AM
Replies: 1
Views: 256
Posted By Fizzlemizz
addon_data.player.main_swing_timer isn't a...

addon_data.player.main_swing_timer isn't a function, it's a variable. It's in the addons private table (addon_data) so you can't use it in another addon without altering the WST addon itself.
Forum: Lua/XML Help 06-26-21, 07:06 PM
Replies: 13
Views: 840
Posted By Fizzlemizz
A quick example if anyone wants to try. local f...

A quick example if anyone wants to try.

local f = CreateFrame("Button", "Fizz_TargetDummy", UIParent, "SecureUnitButtonTemplate")
f:SetSize(65, 30)
f:SetPoint("CENTER", -400,...
Forum: Lua/XML Help 06-26-21, 06:29 PM
Replies: 13
Views: 840
Posted By Fizzlemizz
If the frame isn't trying to perform a secure...

If the frame isn't trying to perform a secure action requiring a secure template then you can do what you like (protected actions not withstanding) with it.

Without the secure template, the OP...
Forum: AddOn Search/Requests 06-25-21, 10:27 AM
Replies: 2
Views: 400
Posted By Fizzlemizz
I think they are talking about the...

I think they are talking about the synchronizeConfig/synchronizeSettings CVars.

Along with synchronizeBindings, synchronizeMacros and synchronizeChatFrames you don't get to choose which "bits" of...
Forum: Lua/XML Help 06-23-21, 01:54 AM
Replies: 9
Views: 545
Posted By Fizzlemizz
It looks like you're wanting something like the...

It looks like you're wanting something like the following to create a set of columns/rows:


local function buttonFrameButtonLayout()
local lastRelative, lastOnTop =...
Forum: Lua/XML Help 06-22-21, 08:21 PM
Replies: 9
Views: 545
Posted By Fizzlemizz
Using the Pastebin code and assuming all your...

Using the Pastebin code and assuming all your button names are consistant starting with "NewbDevBoxButtonFrame" and prefixed with the name in ButtonTable ie.

local xxx = CreateFrame("Button",...
Forum: Lua/XML Help 06-22-21, 08:04 PM
Replies: 9
Views: 545
Posted By Fizzlemizz
Possibly something like this so you can store...

Possibly something like this so you can store references to your created buttons into ButtonTable

local ButtonTable = {
LogoutButton = { active=true },
ExitButton = { active=true },
FStackButton...
Forum: Lua/XML Help 06-22-21, 07:53 PM
Replies: 9
Views: 545
Posted By Fizzlemizz
What is LogoutButton, ExitButton...

What is LogoutButton, ExitButton etc.?

Presuambly they relate in some way to how you're creating your buttons but it's all a bit hard to tell with just the code presented.
Forum: Lua/XML Help 06-22-21, 07:42 PM
Replies: 9
Views: 545
Posted By Fizzlemizz
thisButton = "ButtonFrame" .. k -- at this point...

thisButton = "ButtonFrame" .. k
-- at this point thisButton is a string, not an actual button.
thisButton:ClearAllPoints()
-- so this will fail

You need to resolve the string to an actual button...
Forum: General Authoring Discussion 06-21-21, 01:24 PM
Replies: 4
Views: 666
Posted By Fizzlemizz
If you just want a coloured square, it might be...

If you just want a coloured square, it might be easier to use a texture:

local p = CreateFrame("Frame", nil, UIParent)
p:SetWidth(100)
p:SetHeight(100)
p:SetPoint("TOPLEFT", 100, -100)
p.Texture =...
Forum: Lua/XML Help 06-18-21, 11:40 PM
Replies: 3
Views: 417
Posted By Fizzlemizz
As is, it works on all three clients for...

As is, it works on all three clients for me.

Have fun.
Showing results 1 to 25 of 500