Forum: Released AddOns
11-11-10, 02:09 AM
|
Replies: 79
Views: 47,508
|
Forum: Released AddOns
11-05-10, 10:14 AM
|
Replies: 79
Views: 47,508
|
Forum: Lua/XML Help
10-17-10, 12:05 PM
|
Replies: 4
Views: 3,117
UIParent.lua...
UIParent.lua (http://github.com/tekkub/wow-ui-source/blob/live/FrameXML/UIParent.lua) says that the events are handled by UIParent, so UnregisterAllEvents() wouldn't work.
Does GhostFrame.Show =...
|
Forum: Lua/XML Help
10-17-10, 11:37 AM
|
Replies: 4
Views: 3,117
"frame.Show = frame.Hide" would replace the...
"frame.Show = frame.Hide" would replace the Show()-function with the Hide() one, so that it can't be shown through the normal call.
"frame.Show = nil" to undo.
if you want to hide Blizz-Events, you...
|
Forum: Lua/XML Help
09-26-10, 10:36 AM
|
Replies: 14
Views: 9,981
|
Forum: Lua/XML Help
09-26-10, 10:15 AM
|
Replies: 14
Views: 9,981
Yep, the texture isn't named or stored in the...
Yep, the texture isn't named or stored in the frame-table. (ShardBarFrameShard1, ShardBarFrameShard2, ShardBarFrameShard3 are the parents)
As I said, look through ShardBarFrameShard1:GetRegions() to...
|
Forum: Lua/XML Help
09-25-10, 10:12 PM
|
Replies: 14
Views: 9,981
What's the parent frame? You could probably...
What's the parent frame? You could probably access it via frame:GetRegions() (http://wowprogramming.com/docs/widgets/Frame/GetRegions).
You'd just have to find the right one from the list and :Hide()...
|
Forum: Released AddOns
09-23-10, 06:43 PM
|
Replies: 79
Views: 47,508
|
Forum: AddOn Help/Support
09-11-10, 08:36 AM
|
Replies: 12
Views: 7,756
Like Addon Loader...
Like Addon Loader (http://www.wowinterface.com/downloads/fileinfo.php?id=11476)? :)
And then adding into each of the class-specific addons toc (Wiki Page (http://www.wowwiki.com/AddonLoader)):
##...
|
Forum: General Authoring Discussion
09-04-10, 05:06 PM
|
Replies: 2
Views: 3,980
|
Forum: AddOn Help/Support
09-03-10, 08:18 AM
|
Replies: 25
Views: 13,030
VisualFx was an addon I've written for a friend...
VisualFx was an addon I've written for a friend back in TBC, who wanted a more simple/lua-only variant of VisualThemes. I never released it or used it personally - it was just lying around on my SVN...
|
Forum: AddOn Help/Support
09-01-10, 02:36 PM
|
Replies: 25
Views: 13,030
|
Forum: Lua/XML Help
09-01-10, 01:46 PM
|
Replies: 9
Views: 10,190
function test:Multiply(a, b) is actually...
function test:Multiply(a, b) is actually short-hand for function test.Multiply(self, a, b) So, your two numbers get stored in 'self' and 'a' this way, making b = nil.
Try if this works, passing...
|
Forum: Lua/XML Help
09-01-10, 11:45 AM
|
Replies: 7
Views: 4,716
Tooltip!
Parse the second line and see if it...
Tooltip!
Parse the second line and see if it matches ITEM_BIND_ON_EQUIP. it is probably best to create your own tooltip for this one so that you won't interfere with the GameTooltip.
I've got a...
|
Forum: AddOn Search/Requests
08-27-10, 08:55 AM
|
Replies: 4
Views: 6,605
Moniker...
Moniker (http://www.wowinterface.com/downloads/info17041-Moniker.html) can do this.
|
Forum: Lua/XML Help
08-26-10, 01:57 PM
|
Replies: 7
Views: 3,899
|
Forum: Lua/XML Help
08-26-10, 11:57 AM
|
Replies: 7
Views: 3,899
|
Forum: Lua/XML Help
08-26-10, 09:10 AM
|
Replies: 3
Views: 3,567
You can place the code for it in both...
You can place the code for it in both PostAddButton() and/or UpdateButton()
UpdateButton is called every time the button is updated with new data.
PostAddButton is called whenever a button is added...
|
Forum: Graphics Help
08-26-10, 08:57 AM
|
Replies: 7
Views: 12,582
|
Forum: Lua/XML Help
08-25-10, 06:08 PM
|
Replies: 7
Views: 3,899
|
Forum: Lua/XML Help
08-22-10, 03:51 PM
|
Replies: 5
Views: 6,845
local texture =...
local texture = HealthColor_Button:CreateTexture("HealthColorTexture")
texture:SetTexture("Interface\\ChatFrame\\ChatFrameColorSwatch")
HealthColor_Button:SetNormalTexture(texture)
Or...
|
Forum: Lua/XML Help
08-22-10, 01:46 PM
|
Replies: 5
Views: 6,845
You're looking for SetNormalTexture...
You're looking for SetNormalTexture (http://www.wowwiki.com/API_SetNormalTexture)
button:SetNormalTexture("Interface\\ChatFrame\\ChatFrameColorSwatch")
|
Forum: AddOn Help/Support
08-21-10, 04:24 PM
|
Replies: 3
Views: 4,357
The 'local' in your lua function is wrong and...
The 'local' in your lua function is wrong and will cause an error. You can't have local table entries in Lua, only the whole table can be local. :)
Just remove it and it should work fine.
Since each...
|
Forum: Lua/XML Help
08-21-10, 01:01 PM
|
Replies: 13
Views: 4,991
The global-part is located at the bottom of...
The global-part is located at the bottom of ouf.lua (http://github.com/haste/oUF/blob/master/ouf.lua):
if(global) then
if(parent ~= 'oUF' and global == 'oUF') then
error("%s is doing it wrong...
|
Forum: Lua/XML Help
08-21-10, 12:56 PM
|
Replies: 12
Views: 5,916
I don't know anything about the...
I don't know anything about the timeManager-frame, so I can't say if the code is working correctly, apart from syntax errors. (but I trust p3lim on that one :) )
Does the code in the event-function...
|