Go Back   Forums > Members and Junkies > Interface/Addons > Moving the default UI WITHOUT addons *HOW TO!*
Register Mark Forums Read
Reply
 
Thread Tools
Old 11-21-2009, 08:38 AM Reply With Quote
Kewpa
Kewpa is offline
S2 GladS4 GladS5 GladS6 GladS7 Glad
Andorhal
US-Stormstrike
Posts: 520
 Kewpa's Avatar
Kewpa has a spectacular aura aboutKewpa has a spectacular aura about
Moving the default UI WITHOUT addons *HOW TO!*

Player =

/run local f=PlayerFrame; f:SetUserPlaced(true) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart",f.StartMoving) f:SetScript("OnDragStop",f.StopMovingOrSizing)

Target =

/run local f=TargetFrame; f:SetUserPlaced(true) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart",f.StartMoving) f:SetScript("OnDragStop",f.StopMovingOrSizing)

Party=

/run local p=PartyMemberFrame1; p:SetMovable(true) p:SetUserPlaced(true) p:HookScript("OnMouseDown",function() p:StartMoving()end) p:HookScript("OnMouseUp",function() p:StopMovingOrSizing ()end)

Arena Frame=
/run local f=ArenaEnemyFrame1; f:SetUserPlaced(true) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart",f.StartMoving) f:SetScript("OnDragStop",f.StopMovingOrSizing)
END

Just save these macros put em on your bar somewhere click one of them then move that frame then do console reload ui.


if you want to reset

/run PlayerFrame:SetUserPlaced(false) TargetFrame:SetUserPlaced(false)

To move them drag once you have put typed in the command
__________________

Last edited by Kewpa; 11-24-2009 at 09:13 AM..
Old 11-21-2009, 10:16 AM Reply With Quote
Falco
Falco is offline
S1 Glad
Destromath
US-Rampage
Posts: 173
Falco will become famous soon enough
/run local f=ArenaEnemyFrame1; f:SetUserPlaced(true) f:SetMovable(true) f:EnableMouse(true) f:RegisterForDrag("LeftButton") f:SetScript("OnDragStart",f.StartMoving) f:SetScript("OnDragStop",f.StopMovingOrSizing)
END

Moves the Default Arena Frames as well.
Old 11-21-2009, 10:18 AM Reply With Quote
Kewpa
Kewpa is offline
S2 GladS4 GladS5 GladS6 GladS7 Glad
Andorhal
US-Stormstrike
Posts: 520
 Kewpa's Avatar
Kewpa has a spectacular aura aboutKewpa has a spectacular aura about
Added it to the first post ^_^ thanks
__________________
Old 11-21-2009, 03:27 PM Reply With Quote
Pharaunmizz
Pharaun is offline
S3 GladS4 Glad
Greymane
US-Shadowburn
Posts: 4,754
 Pharaun's Avatar
Status: Inactive
Pharaun has a brilliant futurePharaun has a brilliant futurePharaun has a brilliant futurePharaun has a brilliant futurePharaun has a brilliant futurePharaun has a brilliant future
Send a message via AIM to Pharaun Send a message via MSN to Pharaun Send a message via Yahoo to Pharaun Send a message via Skype™ to Pharaun
About fuggin' time this got stickied This will be awesome for awhile. And even after awhile, we'll at least get to say "READ THE FUCKING STICKY" instead of linking some obscure post buried in page 12 or something.

Cheers, well done

Oh yea you may want to put in resizing stuff, since that's the other thing people ask for (albeit a tad bit less frequently):

http://www.arenajunkies.com/showthread.php?t=112401
__________________
"Who, after all, is today speaking of the destruction of the Armenians?"
-Adolf Hitler, 1939

Addon FAQ READ THE STICKY @$)^(&Y#)$^(&#)(

PvP UI Tutorial (videos)
Old 11-22-2009, 02:15 AM Reply With Quote
Dunci
Dunc is offline
S4 Glad
Shattered Hand
US-Ruin
Posts: 2,873
Status: Inactive
Dunc has a spectacular aura about
the party one doesnt work ;(
Old 11-23-2009, 06:28 PM Reply With Quote
Trashlol
Trashlol is offline
Blackrock
US-Bloodlust
Posts: 2


Trashlol will become famous soon enough
/run local p=PartyMemberFrame1; p:SetMovable(true) p:SetUserPlaced(true) p:HookScript("OnMouseDown",function() p:StartMoving()end) p:HookScript("OnMouseUp",function() p:StopMovingOrSizing ()end)


That should work for party. It's the same thing he had just fixed a couple typos.
Old 11-23-2009, 09:45 PM Reply With Quote
Haf
rambo123 is offline
Anachronos
Posts: 5


rambo123 is on a distinguished road
ok reset script wont work
Old 11-24-2009, 09:13 AM Reply With Quote
Kewpa
Kewpa is offline
S2 GladS4 GladS5 GladS6 GladS7 Glad
Andorhal
US-Stormstrike
Posts: 520
 Kewpa's Avatar
Kewpa has a spectacular aura aboutKewpa has a spectacular aura about
Yeah sorry copy pasting from my macros fucked it up somehow..?
__________________
Old 11-25-2009, 10:25 PM Reply With Quote
Izzle
Izzlewastaken is offline
Silvermoon
US-Reckoning
Posts: 1


Izzlewastaken is on a distinguished road
Quote:
Originally Posted by rambo123 View Post
ok reset script wont work
It works for me, but you need to reload your UI after you use the reset script.
Old 12-02-2009, 04:57 AM Reply With Quote
Shios
shios is offline
S1 GladS2 GladS3 Glad
Tichondrius
US-Bloodlust
Posts: 6
 shios's Avatar
Status: Inactive
shios is on a distinguished road
any reason the arena frames won't lock after you move them?
Reply

Bookmarks

Thread Tools

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

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

Forum Jump

Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.