View Single Post
11-07-09, 07:22 AM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
First... why not just use the HUD? If nothing else, you can use the simple HUD. There's a plugin for the HUD that will add the target level to the display as well as a plugin that will add text to the simple HUD.

Otherwise, it is possible to move the target unit frame, however, it is very much *not* a trivial task because other frames are anchored to it. If you really must move it, you would edit [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitPanel_{panel mode}.lua ] and locate the target unit frame entry in the file. Inside that entry you will find and "anchor =" section which contains "xOfs" and "yOfs" values which control the horizontal and vertical location of the unit frame relative to the frame it is anchored to. You can change those values to move it. Likewise, you can change the name of the frame it is anchored to by changing the value of "relative_to" etc.

As already pointed out, be aware that when you move the target unit frame, other screen elements may move as well. So you might well find yourself going down a rabbit hole and you move other frames back, and so on.

nUI6 should make all of this much easier... but my advice would be to learn to use the HUD... that's what it is there for is to allow you to always keep your eye at the center of the action. The HUD presents all of the information you need in a circle around the actual combat. Once you learn to use it, you really don't need a target frame unless you are using unit frame click macros.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/