Showing posts with label unit frames. Show all posts
Showing posts with label unit frames. Show all posts

Wednesday, August 24, 2011

Vanilla unit frames

How to move the unit frames without using an addon

Move player unit frame
/script PlayerFrame:SetMovable(1)PlayerFrame:StartMoving()
Then move around your mouse and the frame will move.

Stop moving player unit frame
/script PlayerFrame:StopMovingOrSizing()PlayerFrame:SetMovable()

Move target unit frame
/script TargetFrame:SetMovable(1)TargetFrame:StartMoving()

Stop moving target unit frame
/script TargetFrame:StopMovingOrSizing()TargetFrame:SetMovable()

Target of target will move after the target unit frame