Move the Watch Frame onLoad?
Hi guys,
I am using this following script on the OnUpdate window in kgPanels to move the Watch Frame:
WatchFrame:SetPoint("TOPRIGHT", "Minimap", "BOTTOMLEFT", 50, -20)
However I usually hate having things on the OnUpdate and try to always avoid it when ever possible. In this case I want to change it to the OnLoad script window because then I can use other Lua scripts in the future to move it when ever needed.
My issue is that if I use the same script on Load instead it does not work. This is because of the loading order I think as it is too quick and Blizzard moves this to its original location so my script does not do anything.
I really do not know where to begin with this, can anyone help or point me in the right direction? Thank you!
|