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 02-12-19, 04:49 PM
Replies: 2
Views: 178
Posted By Fizzlemizz
ActionButton.lua ~line...

ActionButton.lua ~line 337
SetActionUIButton(self, action, self.cooldown);
Forum: Lua/XML Help 02-09-19, 08:43 PM
Replies: 2
Views: 202
Posted By Fizzlemizz
local frame =...

local frame = CreateFrame("Frame");
frame:RegisterUnitEvent("UNIT_HEALTH", "player");
frame:RegisterUnitEvent("UNIT_MAXHEALTH", "player");
frame:RegisterUnitEvent("UNIT_HEALTH_FREQUENT",...
Forum: General Authoring Discussion 02-02-19, 10:13 AM
Replies: 5
Views: 235
Posted By Fizzlemizz
Do you mean something like: local button =...

Do you mean something like:
local button = CreateFrame('Button', 'ExitButton', nil, "InsecureActionButtonTemplate, UIPanelButtonTemplate")
button:SetText("Logout")
button:SetAttribute('type',...
Forum: General Authoring Discussion 02-01-19, 09:35 AM
Replies: 3
Views: 240
Posted By Fizzlemizz
The problem isn't so much...

The problem isn't so much with
ShowUIPanel(GameMenuFrame)

But more with one of these

function ToggleGameMenu()
if ( not UIParent:IsShown() )...
Forum: Lua/XML Help 01-27-19, 09:41 AM
Replies: 2
Views: 274
Posted By Fizzlemizz
In the file VeriFly.lua remove the TEXT() call...

In the file VeriFly.lua remove the TEXT() call from around the text, button1 and button2 entries.

Old:

text =...
Forum: AddOn Help/Support 01-20-19, 11:44 AM
Replies: 17
Views: 926
Posted By Fizzlemizz
As far as I'm aware, beta didn't moved under the...

As far as I'm aware, beta didn't moved under the general game folder for the lead up to BfA (it's still at 8.0.1.xxx). It probably will for the next xpac., presumably classic as well when it arrives.
Forum: AddOn Help/Support 01-19-19, 09:17 AM
Replies: 17
Views: 926
Posted By Fizzlemizz
Uninstall PTR (from the options in the launcher),...

Uninstall PTR (from the options in the launcher), re-install PTR.
Forum: Lua/XML Help 01-13-19, 03:00 PM
Replies: 3
Views: 197
Posted By Fizzlemizz
comment out gui:Release(widget) at line 13. The...

comment out
gui:Release(widget)
at line 13.

The disappearing child would happen also if you left the Release in, commented out the RegisterEvent, clicked close and then /tsmsc.
Forum: Lua/XML Help 01-12-19, 12:17 PM
Replies: 5
Views: 206
Posted By Fizzlemizz
It's not my forte so this is probably not very...

It's not my forte so this is probably not very efficient if it does work.


local valid = string.gsub(myString, "[i:]+[0-9]+", replaceString)
Forum: General Authoring Discussion 01-10-19, 10:37 PM
Replies: 2
Views: 299
Posted By Fizzlemizz
You can Highlight selected text but you can't...

You can Highlight selected text but you can't programmatically access the clipboard only CTRL-C/CTRL-V etc.

local backdrop = {
bgFile = "Interface/BUTTONS/WHITE8X8",
edgeFile =...
Forum: General Authoring Discussion 01-07-19, 03:51 PM
Replies: 3
Views: 215
Posted By Fizzlemizz
I'm not sure if this is what you are after but...

I'm not sure if this is what you are after but you could give the work to the animation system:
local f = CreateFrame("Frame","AnimationByOnUpdate",UIParent)
f:SetSize(64,64)
local texture =...
Forum: Lua/XML Help 01-07-19, 03:08 PM
Replies: 4
Views: 222
Posted By Fizzlemizz
Toggling the show state of secure frames like...

Toggling the show state of secure frames like unit frames and action bars can be problematic because if you do it in combat you will get errors.

Normally you would register the condition(s) you want...
Forum: Lua/XML Help 01-07-19, 09:04 AM
Replies: 4
Views: 222
Posted By Fizzlemizz
Use IsShown() rather than IsVisible()

Use IsShown() rather than IsVisible()
Forum: Tutorials & Other Helpful Info. 01-07-19, 03:25 AM
Replies: 1
Views: 540
Posted By Fizzlemizz
Thank you Ketho, this is greatly appreciated.

Thank you Ketho, this is greatly appreciated.
Forum: Lua/XML Help 01-07-19, 03:14 AM
Replies: 12
Views: 328
Posted By Fizzlemizz
This is one basic approach. Where you create your...

This is one basic approach. Where you create your radio buttons, you could use something like (added some print statements to see what is happening):


content2.RadioButtons = {}
local function...
Forum: Lua/XML Help 01-06-19, 01:19 PM
Replies: 12
Views: 328
Posted By Fizzlemizz
addon.toc ... File1.lua File2.lua File1.lua local...

addon.toc
...
File1.lua
File2.lua

File1.lua
local _, Core = ...
Core.Hello = "Hello from file 1"
Forum: Lua/XML Help 01-06-19, 11:58 AM
Replies: 12
Views: 328
Posted By Fizzlemizz
Rusmikey: Think of each .lua file as a function...

Rusmikey: Think of each .lua file as a function in its own right and each file is passed several (currently two paramters). The first is the name of the addon the file is in and, the second is a...
Forum: AddOn Help/Support 01-05-19, 02:50 PM
Replies: 5
Views: 281
Posted By Fizzlemizz
If you open the Launcher then...

If you open the Launcher then select:
Options/Show In Explorer

That will make sure you are using the correct game folder (just in case).

Then it's
_retail_\Interface\Addons
Forum: Lua/XML Help 01-04-19, 12:22 PM
Replies: 8
Views: 306
Posted By Fizzlemizz
The error is saying the parameter (unit) passed...

The error is saying the parameter (unit) passed wasn't valid not that the function UnitInVehicle was nil.

Possibly a typo that didn't register when you looked back over the code.
Forum: AddOn Search/Requests 01-04-19, 11:21 AM
Replies: 1
Views: 295
Posted By Fizzlemizz
Good luck in your future endeavours and thank you...

Good luck in your future endeavours and thank you for all your help and insights.

Have Fun.
Forum: Lua/XML Help 01-04-19, 11:17 AM
Replies: 8
Views: 306
Posted By Fizzlemizz
What is the actual error you are getting?

What is the actual error you are getting?
Forum: General Authoring Discussion 01-01-19, 12:06 AM
Replies: 4
Views: 237
Posted By Fizzlemizz
Your original code with a few print...

Your original code with a few print statements

Slot = {}
print("Slot =", Slot)
Slot.__index = Slot

setmetatable(Slot, {
__index = Container, -- makes the inheritance work
...
Forum: General Authoring Discussion 12-31-18, 07:59 PM
Replies: 4
Views: 237
Posted By Fizzlemizz
function Slot:is_a() adds the method to the table...

function Slot:is_a()
adds the method to the table when it is "built". Later when you call Slot:_init()
local s = Slot(1,1)

self.is_a = "Slot"
overwrites the function(method) with the string...
Forum: AddOn Help/Support 12-28-18, 01:51 PM
Replies: 4
Views: 292
Posted By Fizzlemizz
Your original code seemed to be comparing...

Your original code seemed to be comparing spellName to a stored variable, possibly a mount name. Instead of the spell name, you can use the spell id.

local MountManager =...
Forum: AddOn Help/Support 12-27-18, 04:33 PM
Replies: 4
Views: 292
Posted By Fizzlemizz
According to the documentation, the payload (...)...

According to the documentation, the payload (...) for UNIT_SPELLCAST_SUCCEEDED is:

unitTarget, Type = string, Nilable = false
castGUID, Type = string, Nilable = false
spellID, Type = number, Nilable...
Showing results 1 to 25 of 500