Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-27-13, 11:35 AM   #1
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 275
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!
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Move the Watch Frame onLoad?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off