WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   oUF Target HP bar in Player def. (https://www.wowinterface.com/forums/showthread.php?t=42380)

Taet 01-16-12 06:29 PM

oUF Target HP bar in Player def.
 
Plz exist any chance put Target HP bar in Player bar?

This is me curently UI:

http://imageshack.us/photo/my-images...712011016.jpg/


And i need this change:
http://imageshack.us/photo/my-images...712011314.jpg/

Phanx 01-16-12 07:50 PM

You can do pretty much anything you want with oUF, but you will probably have to either edit an existing layout, or write your own layout. The core oUF addon does not do anything on its own. How the frames look and act is totally controlled by the layout.

If you want anything more specific, you will need to (1) post the name of the layout you are using, and a link to its download page, and/or (2) the relevant code you need help changing.

Taet 01-17-12 01:35 AM

Tnx for reply, and here is code if anything try help me.

Me idea is: i dont need 2 separate bars, one for player and second for target. All in one :). I play wow with hunter (main) need see only big focus and 2 small HP bars for HP. Ideal if in focus bar is me cast bar.

Sry me eng., and tnx all if try help me.

Phanx 01-17-12 04:16 AM

I don't have time to read through the code right now, but you'll still need to spawn a separate frame for each unit (player and target), each with the elements you want (health bar for target, health bar and power bar for player), and position the target frame so it appears to be part of the player frame.

You can't reliably resize the player frame itself (when you have or don't have a target) but you can make the background extend beyond the bottom of the frame, place the target frame over the "extra" background, and then resize the player frame's health bar only to cover it up when you don't have a target.


All times are GMT -6. The time now is 07:21 PM.

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