Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-08-14, 06:18 PM   #1
MaLarsson
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 13
Restoring frame to previous position

I'm currently working on an addon that tracks the dots on your target.
I can now display both Hemorrhage and Rupture and move the icons around but the problem is that when I /reload or relog the positioning of the frame is reset to the center of the screen.
I tried using saved variables but did not manage to get any good results even tho I waited until the ADDON_LOADED event fired to use the variable.
I've attached the source code.
DoTracker.lua
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Restoring frame to previous position


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