WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   oUF P3lim - Official thread (https://www.wowinterface.com/forums/showthread.php?t=21740)

p3lim 08-21-14 01:22 PM

Something like this should work

Lua Code:
  1. if((unit == 'raid' or unit == 'party') and not self:GetParent():GetAttribute('showRaid')) then
  2.   self.Health.colorClass = true
  3. end

sirann 08-21-14 01:39 PM

Fantastic!

Daamd 09-27-16 02:24 AM

Quote:

Originally Posted by p3lim (Post 190168)
Add this to the bottom
Code:

oUF.units.player:SetScale(1.2)
oUF.units.target:SetScale(1.2)


Would this still work to just make the frames larger (old eyes here)? And simple place to add them because i tried the obvious bottom of \oUF_P3lim.lua and it wasn't so good.

p3lim 09-27-16 02:24 PM

Quote:

Originally Posted by Daamd (Post 319409)
Would this still work to just make the frames larger (old eyes here)? And simple place to add them because i tried the obvious bottom of \oUF_P3lim.lua and it wasn't so good.

Try this:
Code:

oUF_P3limPlayer:SetScale(1.2)
oUF_P3limTarget:SetScale(1.2)

Or better yet, use the config: /pmf

Daamd 09-27-16 10:33 PM

Quote:

Originally Posted by p3lim (Post 319422)
Or better yet, use the config: /pmf

Worked so well, I didn't realize omf had the option to scale things up and down. Was that always there? I feel kinda dumb if it was...

p3lim 09-27-16 11:19 PM

Quote:

Originally Posted by Daamd (Post 319432)
Worked so well, I didn't realize omf had the option to scale things up and down. Was that always there? I feel kinda dumb if it was...

Quote:

Changes from 1.12
- Ability to set scale on the frames by dragging an anchor located in the bottom right of the overlay.
- X position, Y position and scale can now be hand-tuned by clicking on the numbers in the option UI.
That was in 2011.


All times are GMT -6. The time now is 01:10 AM.

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