Hi, so recently I’ve been messing around with moving the default Death Knight runes with a script since I like how they look and I do not like to use weakauras for basic UI functions. I do still use them for other stuff but I’d like to get this script working as I intend it to. I’m rather new to lua and any help regarding this is greatly appreciated.
So this is the script I’m using:
RuneFrame: SetScale(1.5)
RuneFrame:EnableMouse(false)
RuneFrame:SetParent(UIParent)
RuneFrame:ClearAllPoints()
RuneFrame:SetPoint(“CENTER”, 3, -100)
RuneFrame.SetPoint = function() end
All it does is rescale the runes and move them to the middle of the screen pretty much. The thing I need help with is making sure they stay there no matter what happens.
As of right now it is working perfectly most of the time but if I press alt+Z to hide the UI then the Rune frame will stay invisible when I try to show the UI again. I’ve also had the Runes disappear once or twice during an encounter but it’s rare. I suspect the issue has to do with me not tying the script to an event of some kind.
If anyone out there knows what I need to add to make this small script/addon working as it should I’d be really happy. Lastly, there used to be an addon discord of some kind that I’ve lost access to that have helped me greatly with similar issues in the past but I can’t find an invite link to it anywhere? It might be dead or I’m just missing something. Cheers