Thread Tools Display Modes
08-21-14, 01:22 PM   #81
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
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

Last edited by p3lim : 08-21-14 at 01:54 PM.
  Reply With Quote
08-21-14, 01:39 PM   #82
sirann
A Flamescale Wyrmkin
Join Date: Mar 2007
Posts: 142
Fantastic!
  Reply With Quote
09-27-16, 02:24 AM   #83
Daamd
A Defias Bandit
Join Date: Sep 2016
Posts: 2
Originally Posted by p3lim View Post
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.
  Reply With Quote
09-27-16, 02:24 PM   #84
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Daamd View Post
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
  Reply With Quote
09-27-16, 10:33 PM   #85
Daamd
A Defias Bandit
Join Date: Sep 2016
Posts: 2
Originally Posted by p3lim View Post
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...
  Reply With Quote
09-27-16, 11:19 PM   #86
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Daamd View Post
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...
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.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » oUF P3lim - Official thread

Thread Tools
Display Modes

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