Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: Lua/XML Help Yesterday, 11:31 PM
Replies: 4
Views: 150
Posted By SDPhantom
ITEM_LOCK_CHANGED...

ITEM_LOCK_CHANGED (https://wow.gamepedia.com/ITEM_LOCK_CHANGED) fires when the lock state changes. BAG_UPDATE_DELAYED (https://wow.gamepedia.com/BAG_UPDATE_DELAYED) is what fires when items are...
Forum: Lua/XML Help 12-14-19, 02:26 PM
Replies: 4
Views: 150
Posted By SDPhantom
You might want to check out PickupContainerItem()...

You might want to check out PickupContainerItem() (https://wow.gamepedia.com/API_PickupContainerItem).

You'll have to apply the sort in multiple stages since the items will become "locked" once you...
Forum: Lua/XML Help 12-13-19, 03:23 PM
Replies: 4
Views: 143
Posted By SDPhantom
Short answer, yes. There are many features they...

Short answer, yes. There are many features they stripped out just by altering the returns of the API functions.




If only. There's no reliable way to obtain a SpellID, which is necessary to...
Forum: Classic - AddOn Search/Requests 12-12-19, 04:53 PM
Replies: 4
Views: 102
Posted By SDPhantom
I added another variable to tweak in my previous...

I added another variable to tweak in my previous post.
Forum: Site help, bugs, suggestions/questions 12-12-19, 04:41 PM
Replies: 1
Views: 79
Posted By SDPhantom
Classic version 1.13.3 out

Classic had a patch release (version 1.13.3) last Tuesday and it's not listed when marking addons compatible for it.

PS: Interface version was bumped to 11303.
Forum: Classic - AddOn Search/Requests 12-11-19, 11:19 PM
Replies: 4
Views: 102
Posted By SDPhantom
Might try this: /run for _,b in...

Might try this:
/run for _,b in ipairs({PlayerFrameHealthBar,PlayerFrameManaBar}) do b.textLockable=false;b.forceHideText=true;TextStatusBar_UpdateTextString(b);end
Forum: Lua/XML Help 11-19-19, 01:39 PM
Replies: 10
Views: 573
Posted By SDPhantom
To isolate the adjustment to only when the name...

To isolate the adjustment to only when the name is showing, we'll just semi-recreate the original function managing the buff...
Forum: Lua/XML Help 11-19-19, 02:40 AM
Replies: 10
Views: 573
Posted By SDPhantom
Looks like more modern version trickery. Try...

Looks like more modern version trickery. Try replacing that block with this instead.

-- Move...
Forum: AddOn Search/Requests 11-18-19, 12:19 PM
Replies: 4
Views: 187
Posted By SDPhantom
The classic version doesn't come with any stock...

The classic version doesn't come with any stock weights right now. You'll have to find or create those yourself.
Forum: Lua/XML Help 11-18-19, 12:16 PM
Replies: 10
Views: 573
Posted By SDPhantom
Oh, right. I forgot the function is called as...

Oh, right. I forgot the function is called as NamePlateDriverFrame:OnNamePlateCreated(...). I adjusted the argument list in my previous post to fix that.
Forum: Lua/XML Help 11-17-19, 01:47 PM
Replies: 10
Views: 573
Posted By SDPhantom
Looks like nameplates on classic behave...

Looks like nameplates on classic behave differently than on modern.
Here's a more complete example with the changes.

-- Nametag font size
local function SetFont(obj,optSize)
local...
Forum: Lua/XML Help 11-16-19, 12:24 PM
Replies: 10
Views: 573
Posted By SDPhantom
Looks fine to me, though you don't need to wait...

Looks fine to me, though you don't need to wait for an event to change the font properties. They already exist by the time the addon runs.



As for your additional requests, here's how I'd reset the...
Forum: AddOn Help/Support 11-01-19, 09:26 PM
Replies: 5
Views: 375
Posted By SDPhantom
You can expand line 14 to be something like...

You can expand line 14 to be something like this.

if NamePlateHealthText[self] then
local...
Forum: AddOn Help/Support 11-01-19, 08:29 AM
Replies: 5
Views: 375
Posted By SDPhantom
Here's what I do on mine. It hooks...

Here's what I do on mine. It hooks NameplateDriverFrame:OnNamePlateCreated() when it creates nameplates and CompactUnitFrame_UpdateHealth() to update. I also store a mapping between the unitframe and...
Forum: Lua/XML Help 10-22-19, 05:44 PM
Replies: 5
Views: 238
Posted By SDPhantom
Lua always returns the first match in a string....

Lua always returns the first match in a string. The problem with this is since the color code for the string is a hex value, it can contain numeric characters, which will sometimes get captured...
Forum: AddOn Help/Support 10-21-19, 11:45 PM
Replies: 6
Views: 341
Posted By SDPhantom
Frames are always rectangular, there is no...

Frames are always rectangular, there is no shaping.

And reiterating concerning reading a unit's model...
Forum: General Authoring Discussion 10-21-19, 11:35 AM
Replies: 4
Views: 293
Posted By SDPhantom
You can use InCombatLockdown()...

You can use InCombatLockdown() (https://wow.gamepedia.com/API_InCombatLockdown) to determine if protected frames are locked due to being in...
Forum: AddOn Help/Support 10-21-19, 11:15 AM
Replies: 6
Views: 341
Posted By SDPhantom
Addons don't have any control over how the cursor...

Addons don't have any control over how the cursor interacts with the game world either. An invisible frame created and positioned under the cursor is the only way to block clicks, but this also...
Forum: AddOn Help/Support 10-20-19, 07:49 PM
Replies: 6
Views: 341
Posted By SDPhantom
Addons can't interact with the rendered world....

Addons can't interact with the rendered world. They run completely isolated in a UI layer on top of it.
Forum: Lua/XML Help 10-20-19, 12:41 AM
Replies: 3
Views: 412
Posted By SDPhantom
Using events to update something that isn't...

Using events to update something that isn't related to is generally a bad idea. There are a ton of issues that happen depending on which data you're trying to access or even trying to update your...
Forum: General Authoring Discussion 10-15-19, 11:23 AM
Replies: 11
Views: 462
Posted By SDPhantom
These are for the popup that shows to the player...

These are for the popup that shows to the player being summoned after the ritual has been successfully completed.
Forum: General Authoring Discussion 10-14-19, 10:57 AM
Replies: 11
Views: 462
Posted By SDPhantom
That's when it's spawned, not used.

That's when it's spawned, not used.
Forum: Lua/XML Help 10-13-19, 12:15 PM
Replies: 4
Views: 285
Posted By SDPhantom
local...

local highlight=Button:GetHighlightFontObject();
highlight:SetTextColor(0,0,0);


Note: If you're not doing anything else with the FontString, you can do this...
Forum: AddOn Search/Requests 10-09-19, 02:01 PM
Replies: 2
Views: 572
Posted By SDPhantom
I had a plan to implement it as it works in...

I had a plan to implement it as it works in Modern WoW, but it's taken a back seat to more pressing matters at the moment. I'll take another look into it once I have everything straightened out with...
Forum: AddOn Search/Requests 10-08-19, 03:31 PM
Replies: 2
Views: 361
Posted By SDPhantom
Addons can't access the computer's filesystem,...

Addons can't access the computer's filesystem, but given the naming format for WoW screenshots, they can say where to...
Showing results 1 to 25 of 500