Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: SDPhantom
Forum: AddOn Help/Support 08-26-15, 08:12 PM
Replies: 6
Views: 262
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: 217
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: 217
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: 262
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: 262
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: 116
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: 269
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: 20
Views: 917
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: 204
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: 294
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: 220
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: 20
Views: 917
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: 853
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: 303
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: 331
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,045
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: 213
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: 213
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: 225
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: 715
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: 715
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,...
Forum: Lua/XML Help 07-31-15, 08:19 PM
Replies: 11
Views: 502
Posted By SDPhantom
Don't let this stop you from participating. There...

Don't let this stop you from participating. There are many intricacies of the game client that are largely undocumented and collaborating with others is a good way to learn the most effective ways of...
Forum: Lua/XML Help 07-30-15, 11:18 PM
Replies: 11
Views: 502
Posted By SDPhantom
This explanation is extremely vague, almost to...

This explanation is extremely vague, almost to the point of being misleading.

The core principal of ChatLinkIcons is based on the fact when the game client receives a GUID from the server, it...
Forum: Lua/XML Help 07-29-15, 01:04 PM
Replies: 11
Views: 502
Posted By SDPhantom
There's only one function that directly retrieves...

There's only one function that directly retrieves info on any specific member in the roster. That would be GetGuildRosterInfo() (http://wow.gamepedia.com/API_GetGuildRosterInfo). Unfortunately, it...
Forum: Lua/XML Help 07-28-15, 02:28 PM
Replies: 11
Views: 502
Posted By SDPhantom
What I do with ChatLinkIcons...

What I do with ChatLinkIcons (http://www.wowinterface.com/downloads/info20115-ChatLinkIcons.html) is grab their GUID from chat events and send it through GetPlayerInfoByGUID()...
Showing results 1 to 25 of 500