Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-26-09, 12:02 AM   #1
eddiemars
A Cyclonian
 
eddiemars's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 43
X and Y positions of Health and Mana within a frame.

Hello. I am currently using oUF_Nivaya, as my lua skills are 0, it has that handy in-game config. I do however know other kinds of code so reading through the lua files does end up making some sense to me, I have been able to figure out the fairly obvious.

I was wondering how I might go about go about moving the X and Y position of the mana bar within the Player and Target (and Focus etc) frames. I can move the X and Y position of the specific frames to high heaven, but I can't seem to specifically target the mana bar (or any specific bar within a frame).

I noticed these lines that I thought I could add to:
Code:
    ptWidth = 140,	-- Size Variables for Player and Target frames
    ptHeight = 28,
    ptHealthHeight = 22,
    ptManaHeight = 5,
So I tried adding this to the bottom:
Code:
    ptManaX = 5,
    ptManaY = 10,
Seemed logical enough, but nothing happened. Any tips?
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » X and Y positions of Health and Mana within a frame.


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