Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: AddOn Search/Requests Yesterday, 12:00 PM
Replies: 5
Views: 253
Posted By SDPhantom
Addons don't have the ability to interact with...

Addons don't have the ability to interact with the 3D game world and as such, can't mark targets in any way other than the standard raid markers already in the default UI.
Forum: Lua/XML Help 09-01-15, 04:10 PM
Replies: 22
Views: 497
Posted By SDPhantom
As expected: Honestly, it's a wonder how this...

As expected:

Honestly, it's a wonder how this code ever worked. This isn't something they change with an API update.
Forum: AddOn Search/Requests 09-01-15, 02:54 PM
Replies: 22
Views: 1,162
Posted By SDPhantom
I have a "sandbox" Lua file in my custom...

I have a "sandbox" Lua file in my custom development tool I built to test code ideas in. I usually have a bunch of random crap in there to tweak the UI to how I want it to run.
Forum: Lua/XML Help 09-01-15, 02:47 PM
Replies: 22
Views: 497
Posted By SDPhantom
That ends up passing the command arguments string...

That ends up passing the command arguments string as self, which should raise an error.
Forum: AddOn Help/Support 08-26-15, 08:12 PM
Replies: 6
Views: 324
Posted By SDPhantom
The height is measured in pixels, so anything...

The height is measured in pixels, so anything other than a whole integer shouldn't visibly do anything.
Forum: Lua/XML Help 08-26-15, 06:41 PM
Replies: 6
Views: 270
Posted By SDPhantom
You keep overwriting it, which might be what's...

You keep overwriting it, which might be what's messing up the binding. You need a unique global for each button.
Forum: Lua/XML Help 08-26-15, 02:34 PM
Replies: 6
Views: 270
Posted By SDPhantom
I'm not sure if it would work, but have you tried...

I'm not sure if it would work, but have you tried assigning a reference to the button to a global, then giving SetOverideBindingClick() the name of the global?
Forum: AddOn Help/Support 08-26-15, 02:04 PM
Replies: 6
Views: 324
Posted By SDPhantom
This is the exact code the OP posted, he wanted a...

This is the exact code the OP posted, he wanted a modification to only show when below 100%.




It'll work fine without the comments. They were just to point out improvements made with the new code...
Forum: AddOn Help/Support 08-26-15, 12:40 AM
Replies: 6
Views: 324
Posted By SDPhantom
Please give meaningful names to your variables....

Please give meaningful names to your variables. Variable names such as f.h and f.h.v are bordering on obfuscation, which is a violation on Blizzard's Addon Policy.




f.h = select(1, select(1,...
Forum: Lua/XML Help 08-25-15, 10:00 AM
Replies: 1
Views: 145
Posted By SDPhantom
There are different ways depending on how you...

There are different ways depending on how you want the message to behave. For example, you can use message() (http://wow.gamepedia.com/API_message) to show a basic popup with your message and an...
Forum: Lua/XML Help 08-24-15, 01:48 PM
Replies: 4
Views: 299
Posted By SDPhantom
If your addon isn't doing anything until...

If your addon isn't doing anything until Blizzard_TradeSkillUI loads, then you should use the LoadWith (http://wow.gamepedia.com/TOC_format#Official_Tags) tag in your TOC to tell the game to load...
Forum: AddOn Search/Requests 08-24-15, 01:12 PM
Replies: 22
Views: 1,162
Posted By SDPhantom
Yep. It runs the exact same API function when...

Yep.

It runs the exact same API function when you confirm, so there's really no difference in how they operate.
Forum: Lua/XML Help 08-21-15, 02:05 PM
Replies: 5
Views: 214
Posted By SDPhantom
You can also use button:SetEnabled(boolean) to...

You can also use button:SetEnabled(boolean) to quickly enable/disable based on a variable.
Forum: Lua/XML Help 08-19-15, 04:54 PM
Replies: 10
Views: 310
Posted By SDPhantom
Scanning EnumerateFrames() can be very taxing on...

Scanning EnumerateFrames() can be very taxing on the system considering the default UI alone creates hundreds of frames. Trying to "hack" your way to get access to a local frame is customized to that...
Forum: Graphics Help 08-19-15, 02:07 AM
Replies: 3
Views: 323
Posted By SDPhantom
I'm sure someone is going to point out that you...

I'm sure someone is going to point out that you should code in pure Lua instead of using XML since it's easier to debug with. That put aside, I don't see any problem with your code minus a couple...
Forum: AddOn Search/Requests 08-15-15, 12:57 AM
Replies: 22
Views: 1,162
Posted By SDPhantom
I'd honestly just sync it with...

I'd honestly just sync it with StaticPopupDialogs["DELETE_ITEM"].
StaticPopupDialogs.DELETE_GOOD_ITEM=StaticPopupDialogs.DELETE_ITEM
Forum: Lua/XML Help 08-15-15, 12:45 AM
Replies: 26
Views: 893
Posted By SDPhantom
Since all the code is doing is matching items to...

Since all the code is doing is matching items to set names, the lookup table doesn't need to be so complicated to use. Here's my example. There can be more optimizations depending on how you want the...
Forum: Macro Help 08-11-15, 10:11 PM
Replies: 7
Views: 313
Posted By SDPhantom
I honestly don't use /dismount and trying to...

I honestly don't use /dismount and trying to duplicate your conditionals on the #showtooltip line is likely to make you exceed the maximum length of a macro.
Forum: Lua/XML Help 08-09-15, 01:16 PM
Replies: 11
Views: 350
Posted By SDPhantom
I've found this section of Blizzard code that...

I've found this section of Blizzard code that apparently captures only one key and causes all others to pass through. This is located in Blizzard_GarrisonUI\Blizzard_GarrisonMissionTemplates.xml line...
Forum: General Authoring Discussion 08-09-15, 01:06 PM
Replies: 14
Views: 1,227
Posted By SDPhantom
I'm wondering if there will be another expansion...

I'm wondering if there will be another expansion named World of Warcraft: ARM. :D
Forum: Macro Help 08-08-15, 12:07 PM
Replies: 3
Views: 227
Posted By SDPhantom
There are actually a couple different ones, the...

There are actually a couple different ones, the one I used in the macro was the original Loot-A-Rang (http://www.wowhead.com/item=60854) I made back in Cataclysm.
Forum: Macro Help 08-07-15, 08:40 PM
Replies: 3
Views: 227
Posted By SDPhantom
I made a few improvements to the design of the...

I made a few improvements to the design of the macro. Healthstone will accept any modifier key to be held. Mass Resurrection is set as the default action and runs if out of combat and no enemy is...
Forum: Macro Help 08-05-15, 11:26 AM
Replies: 2
Views: 233
Posted By SDPhantom
This should show the icon, cooldown, and tooltip...

This should show the icon, cooldown, and tooltip for the item along with only sending a message in the /say channel if the item was off cooldown.

#showtooltip Order of the Awakened Battle...
Forum: General Authoring Discussion 08-05-15, 11:15 AM
Replies: 11
Views: 746
Posted By SDPhantom
The solution I posted is a compromise, but it...

The solution I posted is a compromise, but it only ends up making the calculation once on load instead of every time it's referenced. It's also simple enough in which you put in point/length instead...
Forum: General Authoring Discussion 08-04-15, 11:04 AM
Replies: 11
Views: 746
Posted By SDPhantom
Whichever way you end up doing, you should have...

Whichever way you end up doing, you should have all the coordinates precalculated instead of dynamically calculating the same numbers repeatedly live. Even if you have to do something like this,...
Showing results 1 to 25 of 500