Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help 04-11-21, 06:48 PM
Replies: 16
Views: 537
Posted By SDPhantom
If you check a lot of events, it'll create a new...

If you check a lot of events, it'll create a new function each time. This'll work better.

local f=CreateFrame("Frame");
local function EventExists(event)
local...
Forum: Lua/XML Help 04-06-21, 02:54 PM
Replies: 6
Views: 347
Posted By SDPhantom
PaperDollFrame seems to just register all the...

PaperDollFrame seems to just register all the stat events including UNIT_AURA and flag an update through...
Forum: Lua/XML Help 04-06-21, 01:01 AM
Replies: 7
Views: 1,766
Posted By SDPhantom
Not without a hardware event. It shouldn't be...

Not without a hardware event. It shouldn't be that hard to make a button to click somewhere or a slash command to run that would trigger a purge of unwanted items.
Forum: Lua/XML Help 04-06-21, 12:54 AM
Replies: 6
Views: 347
Posted By SDPhantom
I don't have a way to test currently, but it...

I don't have a way to test currently, but it sounds like you're not using the correct event. Stat changes usually trigger off their own event(s). UNIT_AURA merely signals that the list of buffs has...
Forum: Lua/XML Help 04-02-21, 03:43 PM
Replies: 6
Views: 392
Posted By SDPhantom
It doesn't exist, the first thing the code does...

It doesn't exist, the first thing the code does is create the function on line 2.
Blizzard has a similar function called nop(). You could use that instead if you prefer.



They both "inherit" their...
Forum: Lua/XML Help 04-01-21, 11:53 PM
Replies: 6
Views: 392
Posted By SDPhantom
Here's an example 0f what I was talking about;...

Here's an example 0f what I was talking about; redirecting the function to a dummy function.
I added a couple other functions to redirect and a 4th to hook and reset the color.

-- Define a dummy...
Forum: Lua/XML Help 04-01-21, 02:30 AM
Replies: 6
Views: 392
Posted By SDPhantom
Looks like it's handled by...

Looks like it's handled by TargetFrame_HealthUpdate() (https://www.townlong-yak.com/framexml/38134/TargetFrame.lua#822). It looks like it's safe to redirect to a dummy function. Other than that,...
Forum: General Authoring Discussion 03-24-21, 07:52 PM
Replies: 11
Views: 995
Posted By SDPhantom
I hope so, I need an early hit on Mirren's...

I hope so, I need an early hit on Mirren's Drinking Hat (https://www.wowhead.com/item=23587/mirrens-drinking-hat). :D
Forum: General Authoring Discussion 03-24-21, 06:20 PM
Replies: 11
Views: 995
Posted By SDPhantom
I got in Shadowlands near the end due to sheer...

I got in Shadowlands near the end due to sheer luck. Since then, it's made me feel like beta access for authors isn't a reliable thing anymore.
Forum: General Authoring Discussion 03-24-21, 02:32 AM
Replies: 11
Views: 995
Posted By SDPhantom
Classic was there, but it felt more like a back...

Classic was there, but it felt more like a back alley deal than an official offering.
We were largely ignored for Shadowlands beta too.
Forum: General Authoring Discussion 03-22-21, 06:57 PM
Replies: 4
Views: 338
Posted By SDPhantom
DBM and BigWigs do something similar by having...

DBM and BigWigs do something similar by having each "module" set up as a LoD addon and use custom tags in the ToC for registering when to load each one.
Forum: Macro Help 03-06-21, 05:58 PM
Replies: 1
Views: 754
Posted By SDPhantom
There isn't a macro condition for that. What I...

There isn't a macro condition for that. What I tend to do is write a macro like this.
/cast [btn:1] ItemName; SpellName
This makes left-clicking the button use the item and right-clicking will create...
Forum: PTR API and Graphics Changes 02-10-21, 11:22 PM
Replies: 4
Views: 1,064
Posted By SDPhantom
It's a taint error, though /run ReloadUI() seems...

It's a taint error, though /run ReloadUI() seems to work fine. This behavior is new as usually any protected function blocked to addons is usually blocked to scripts too.



Edit: /reload is even...
Forum: AddOn Help/Support 02-08-21, 04:33 AM
Replies: 3
Views: 895
Posted By SDPhantom
I've run into this before with my own cooldown...

I've run into this before with my own cooldown addon. All I can really say is these issues are caused by Blizzard being more creative and using Cooldown frames as circular statusbars. Detecting when...
Forum: Lua/XML Help 01-09-21, 01:44 AM
Replies: 2
Views: 1,131
Posted By SDPhantom
You can just call button:SetAttribute() again...

You can just call button:SetAttribute() again when you need to update it. This can't be done during combat however.

For example:

local...
Forum: Lua/XML Help 01-09-21, 12:32 AM
Replies: 8
Views: 2,778
Posted By SDPhantom
It requires NamePlates to be turned on and to be...

It requires NamePlates to be turned on and to be in range to have one for the mob in question.
Forum: AddOn Search/Requests 01-05-21, 04:25 PM
Replies: 3
Views: 2,900
Posted By SDPhantom
It's more because of a limit in the system they...

It's more because of a limit in the system they use. The ZoneAbility system attaches abilities to the zone you're in. This works in the storyline when you get the abilities to try out when you're in...
Forum: AddOn Search/Requests 01-02-21, 05:48 PM
Replies: 3
Views: 2,900
Posted By SDPhantom
From what I can tell, that's ZoneAbilityFrame and...

From what I can tell, that's ZoneAbilityFrame and it's attached to ExtraAbilityContainer. The position is managed by UIParent.

["ExtraAbilityContainer"] = {baseY = true, yOffset = 0, bottomEither =...
Forum: Lua/XML Help 12-28-20, 11:00 PM
Replies: 4
Views: 1,338
Posted By SDPhantom
In case you're still wondering, here's the atlas...

In case you're still wondering, here's the atlas escape format (https://wow.gamepedia.com/UI_escape_sequences#Texture_atlas).
Forum: Lua/XML Help 12-17-20, 10:13 AM
Replies: 7
Views: 2,071
Posted By SDPhantom
You could do something like this. local...

You could do something like this.


local SongList={
"songA";
"songB";
"songC";
};

print(SongList[math.random(#SongList)]);
Forum: Lua/XML Help 12-16-20, 05:54 PM
Replies: 1
Views: 1,611
Posted By SDPhantom
The DefaultUI already does this. if...

The DefaultUI already does this.


if self.isHeader then
self:GetParent():GetParent():OnHeaderButtonClicked(self, self.tradeSkillInfo, button);
else
if IsModifiedClick()...
Forum: Lua/XML Help 12-15-20, 12:13 AM
Replies: 10
Views: 3,379
Posted By SDPhantom
The function attribute assigns a global by name...

The function attribute assigns a global by name as the script handler. method is the one that takes a table key instead and references whatever mixin(s) you imported.
Forum: Macro Help 12-12-20, 09:26 AM
Replies: 2
Views: 2,702
Posted By SDPhantom
I would add to check your keybinds. For example,...

I would add to check your keybinds. For example, CTRL+1 by default is bound to the first button on your pet bar. If you try to hit that key combination, it'll send to that and not your main...
Forum: Lua/XML Help 12-12-20, 09:06 AM
Replies: 11
Views: 2,872
Posted By SDPhantom
I'd check out C_Covenants.GetActiveCovenantID()...

I'd check out C_Covenants.GetActiveCovenantID() (https://wow.gamepedia.com/API_C_Covenants.GetActiveCovenantID). You can also look at the other covenant functions here...
Forum: Macro Help 12-10-20, 09:41 AM
Replies: 2
Views: 2,420
Posted By SDPhantom
You have to manually select from the icon list if...

You have to manually select from the icon list if you want a specific icon. #showtooltip only shows a specific ability you have.
Showing results 1 to 25 of 500