WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Newbie: Reset frame posotion? (https://www.wowinterface.com/forums/showthread.php?t=7849)

tatsudoshi 01-05-07 07:13 AM

Newbie: Reset frame posotion?
 
I have searched the threads, but I seem not to be able to find any info on the subject.

So how do I reset a frame position, when it is movable and the user have moved it or it has moved outside the screen?

Best regads :)

Cryptonic 01-05-07 08:10 AM

Delete its WTF in SavedVariables so delete the name of the mod you use
That is one way

tatsudoshi 01-05-07 08:25 AM

Is that possible through user interaction? I mean it has to be done via a slash command.

Dreadlorde 01-05-07 09:01 AM

you need to use a unit frame mod, then you can drag them where ever you want.

tatsudoshi 01-05-07 09:16 AM

Dude it already is dragable (movable).

I am looking for a function to reset the position.

Sorry if I didn't make the inicial question clear enough, if I did, please read it properly :rolleyes:

Dreadlorde 01-05-07 09:26 AM

delete the file in savedvariables?

tatsudoshi 01-05-07 09:38 AM

Annnd we are back at question #3 :p

Is that possible through user interaction?

I.e. via a slash command

Wintry 01-05-07 09:49 AM

If you know the frame name (which is doubtful), yes. If you do, then it'd be this:

/script FrameName:ClearAllPoints();
/script FrameName:SetPoint("CENTER");

That'd probably fix it. But, as I said, you'd have to know the frame name.

tatsudoshi 01-05-07 10:00 AM

Since I made the addon myself I know the frame name.

That is why I added 'Newbie' to the thread title :D

And so I thank you for helping me!

Happy gaming guys ;)

EDIT:
Oh so a frame is a part of a region!! Or something like that, hehe. I just didn't understand where to look at WoWiKi


All times are GMT -6. The time now is 09:25 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI