I have a script i would like to run with weakauras. I managed to make small one-liner scripts work when i put them into a custom trigger.
If its something like this:
TargetFrameSpellBar:ClearAllPoints()
TargetFrameSpellBar:SetPoint(“CENTER”, 125, -62)
TargetFrameSpellBar.SetPoint = function() end
I cant make it run with weakauras. This code works since i run it successfully with an addon so its either limited by weakauras or im doing something wrong (which is more likely :D)
I just want to move everything into Weakauras. Ive got a bunch of other scripts and i want to have everything in one place.
How would I have to rewrite this code to run it with weakauras? Any help is greatly appreciated
Well, you are probably already logged on before WA executes this, so PLAYER_LOGIN never fires. It doesn’t need that anyway, you can just use the line DefaultCompactUnitFrameOptions.displayRoleIcon = false only.