Thread Tools Display Modes
10-28-12, 04:14 PM   #1
lynce
A Cyclonian
 
lynce's Avatar
Join Date: Jul 2008
Posts: 48
Move the Questwatch frame

Anyone know i simple way to move the quest watch frame. Some lines of lua if its possible with anchor points. I cant seem to find a addon who just does this. Nor do i want to use one. thanks for helping.
  Reply With Quote
10-28-12, 05:30 PM   #2
brotherhobbes
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 313
Chinchilla has modules for the quest watch frame, if you want to check it out for code examples: http://www.wowinterface.com/download...laMinimap.html
  Reply With Quote
10-28-12, 05:46 PM   #3
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
You might want to have a look at rQuestWatchFrameMover. I know you said you didn't want to use an addon, and I know there are scripts you can run, maybe even a macro, to move the watch frame, but this is small and efficient. Zork's (the addons author) stuff is always efficient, although there is no possible way to make some of the stuff he does "small".
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
10-28-12, 08:57 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
/run local f,n=WatchFrame,function()end f:ClearAllPoints() f:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 30, 17) f.ClearAllPoints,f.SetPoint=n,n
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
10-29-12, 03:37 AM   #5
lynce
A Cyclonian
 
lynce's Avatar
Join Date: Jul 2008
Posts: 48
That was fast In the Chinchilla questwatch module i don't really know what to pick out and use. Roth's addon is great, however there doesn't seem to be any way to lock the position.
Phanx: That was just what i'm after! So if i put this in a file, will this work?
Code:
local f,n=WatchFrame,function()end 
	f:ClearAllPoints() 
	f:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 30, 17) 
	f.ClearAllPoints,f.SetPoint=n,n
  Reply With Quote
10-29-12, 06:13 AM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Yes, though if you're putting it in a file, I'd suggest reformatting it for better readability:

Code:
-- Move it:
WatchFrame:ClearAllPoints()
WatchFrame:SetPoint("TOPLEFT", UIParent, "TOPLEFT", 30, 17)

-- Stop the default UI from moving it back:
local noop = function() end
WatchFrame.ClearAllPoints = noop
WatchFrame.SetPoint = noop
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Move the Questwatch frame

Thread Tools
Display Modes

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