Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: zork
Forum: Lua/XML Help 09-02-12, 02:50 AM
Replies: 12
Views: 9,302
Posted By zork
Can you post your final code?

Can you post your final code?
Forum: Lua/XML Help 09-01-12, 06:21 AM
Replies: 12
Views: 9,302
Posted By zork
No your problem is the condition inside the hook...

No your problem is the condition inside the hook function. Just print all the ... variables and you will find out why. You don't need another surrounding frame. You just have to fix the condition....
Forum: Lua/XML Help 09-01-12, 05:50 AM
Replies: 12
Views: 9,302
Posted By zork
This works for me: local frame =...

This works for me:
local frame = CreateFrame("Frame", "rMM_DurabilityDragFrame", UIParent)
frame:SetSize(DurabilityFrame:GetWidth(),DurabilityFrame:GetHeight())
frame:SetPoint("CENTER",0,0)
...
Forum: Lua/XML Help 09-01-12, 04:51 AM
Replies: 12
Views: 9,302
Posted By zork
In my FrameXML\DurabilityFrame.xml the parent is...

In my FrameXML\DurabilityFrame.xml the parent is UIParent.
https://github.com/Ketho/wow-ui-source/blob/5.0.4.15983/FrameXML/DurabilityFrame.xml#L4

Have you...
Forum: Lua/XML Help 09-01-12, 03:12 AM
Replies: 12
Views: 9,302
Posted By zork
If you add print() debugs. Does the function get...

If you add print() debugs. Does the function get called twice on loadup like you say?
Is the parent element still the MinimapCluster?

If I do /run print(DurabilityFrame:GetParent():GetName()) I get...
Showing results 1 to 5 of 5