Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help 01-09-21, 01:44 AM
Replies: 2
Views: 279
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: 694
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: 1,030
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: 1,030
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: 510
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: 1,115
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,147
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: 2,410
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: 1,891
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: 1,941
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: 1
Views: 1,222
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.
Forum: Lua/XML Help 12-05-20, 11:14 AM
Replies: 6
Views: 1,662
Posted By SDPhantom
Frames that don't have a name or weren't created...

Frames that don't have a name or weren't created with the ParentKey XML attribute will have a random number in /fstack. This is basically their internal memory pointer similar to if you tostring() a...
Forum: Site help, bugs, suggestions/questions 12-03-20, 03:45 AM
Replies: 1
Views: 515
Posted By SDPhantom
Classic ToC Bump

New ToC version for classic. 11306 for version 1.13.6.
Forum: AddOn Search/Requests 11-27-20, 05:33 PM
Replies: 1
Views: 646
Posted By SDPhantom
Unfortunately, addons can't modify the game world.

Unfortunately, addons can't modify the game world.
Forum: Lua/XML Help 11-27-20, 03:20 AM
Replies: 5
Views: 826
Posted By SDPhantom
If you're really set on tooltips, you might try...

If you're really set on tooltips, you might try looking at ItemRefTooltip that handles chat links.
Forum: Lua/XML Help 11-27-20, 12:17 AM
Replies: 5
Views: 826
Posted By SDPhantom
Reading tooltips is a desperate last-ditch effort...

Reading tooltips is a desperate last-ditch effort to get information. From your screenshots, another addon is putting that into there, which means it's getting it form somewhere else to display it....
Forum: Lua/XML Help 11-26-20, 06:44 PM
Replies: 5
Views: 826
Posted By SDPhantom
What exactly is your goal? Depending on what you...

What exactly is your goal? Depending on what you intend to do, there are probably better ways in getting this info than tooltip scanning.
Forum: Macro Help 11-24-20, 07:54 PM
Replies: 1
Views: 716
Posted By SDPhantom
First, you say yourself you can just use Prowl...

First, you say yourself you can just use Prowl alone to end up stealthed and in Cat Form. You don't need to manually cast Cat Form.

Secondly, unexpected things can and do happen when you mash keys....
Forum: Graphics Help 11-24-20, 07:36 PM
Replies: 4
Views: 1,820
Posted By SDPhantom
You would use two texture objects. For the...

You would use two texture objects. For the ability icon, use SetPortraitToTexture() (https://wow.gamepedia.com/API_SetPortraitToTexture) to convert it to a circular image. Then you put the artifact...
Forum: Lua/XML Help 11-22-20, 05:47 PM
Replies: 8
Views: 1,031
Posted By SDPhantom
I'd honestly convert it to a loop. function...

I'd honestly convert it to a loop.

function BattleDex.RecordBattle()
if not C_PetBattles.IsWildBattle() then return; end

local primary=0;
for i=1,C_PetBattles.GetNumPets(2) do
local...
Forum: Lua/XML Help 11-21-20, 11:46 PM
Replies: 8
Views: 1,031
Posted By SDPhantom
That's the spot it's complaining about. Line 69...

That's the spot it's complaining about. Line 69 in function BattleDex.RecordPet(). The only line there that would generate that error (there are other operations like it, but it would throw a...
Forum: Lua/XML Help 11-21-20, 09:00 PM
Replies: 8
Views: 1,031
Posted By SDPhantom
SavedVars should be ready by the time...

SavedVars should be ready by the time ADDON_LOADED fires. It's part of the addon loading process. The error isn't complaining about the table itself being nil, there's a different error for that. The...
Forum: Lua/XML Help 11-21-20, 05:37 AM
Replies: 1
Views: 758
Posted By SDPhantom
I was having problems with this during BfA and...

I was having problems with this during BfA and with BigWigs in particular.
I ended up splitting the bigger LoD packages into smaller pieces to deal with it, then wrote a preloader that would split...
Forum: Lua/XML Help 11-07-20, 06:49 PM
Replies: 6
Views: 4,656
Posted By SDPhantom
Fonts are usually all gathered in both Fonts.xml...

Fonts are usually all gathered in both Fonts.xml and FontStyles.xml in both FrameXML and SharedXML folders.

FrameXML/Fonts.xml...
Forum: Lua/XML Help 11-07-20, 06:24 PM
Replies: 6
Views: 2,918
Posted By SDPhantom
Lua 5.1 Reference Manual 2.5.9...

Lua 5.1 Reference Manual 2.5.9 (http://www.lua.org/manual/5.1/manual.html#2.5.9)
Showing results 1 to 25 of 500