Showing results 1 to 25 of 121
Search took 0.00 seconds.
Search: Posts Made By: Caellian
Forum: oUF (Otravi Unit Frames) 09-02-09, 03:59 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
May i ask you, how ? :) Because, someone reported...

May i ask you, how ? :)
Because, someone reported that the previous method only partially worked, after a while, the runes would just get "stuck", colored but not updating anymore.
Your method might...
Forum: oUF (Otravi Unit Frames) 09-01-09, 02:25 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Temporary fix: local runeloadcolors = { [1] =...

Temporary fix:



local runeloadcolors = {
[1] = {.69,.31,.31},
[2] = {.69,.31,.31},
[3] = {.33,.59,.33},
[4] = {.33,.59,.33},
[5] = {.31,.45,.63},
Forum: oUF (Otravi Unit Frames) 08-29-09, 02:25 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
On the first login, the runes are plain white,...

On the first login, the runes are plain white, takes a reloadui to get the colors working.
Forum: oUF (Otravi Unit Frames) 03-21-09, 07:57 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Oh that's too bad really because using the Hex...

Oh that's too bad really because using the Hex function make the tag lines 1 mile long :(

For the cancel buff, thanks a lot, it works like a charm now, that was really driving me nuts to have it...
Forum: oUF (Otravi Unit Frames) 03-20-09, 10:55 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Haste could you plz take a look at this...

Haste could you plz take a look at this (http://www.wowinterface.com/forums/showpost.php?p=120601&postcount=924) when you have a second ?
Forum: oUF (Otravi Unit Frames) 03-17-09, 06:07 PM
Replies: 1,215
Views: 388,188
Posted By Caellian
Allright, there's something that's bothering me...

Allright, there's something that's bothering me now.

Say i use the following tag instead on the Hex() funtion
oUF.Tags['[gradient]'] = function(unit)
local min, max = UnitHealth(unit),...
Forum: oUF (Otravi Unit Frames) 03-17-09, 11:34 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Ahh yes, thanks a lot <3

Ahh yes, thanks a lot <3
Forum: oUF (Otravi Unit Frames) 03-17-09, 10:46 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
If it has to be something like this which look...

If it has to be something like this which look quite weird to me:

oUF.Tags['[perchealth]'] = function(unit)
local min, max = UnitHealth(unit), UnitHealthMax(unit)
if UnitHealthMax(unit) >...
Forum: oUF (Otravi Unit Frames) 03-17-09, 10:38 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
I'm sorry haste but i really don't get how to put...

I'm sorry haste but i really don't get how to put this together, the goal being to have the oUF.Tags['[perhp]'](unit) to be gradient colored :(

local function Hex(r, g, b)
if type(r) == "table"...
Forum: oUF (Otravi Unit Frames) 03-17-09, 09:14 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Feed the return of the tag above the the Hex...

Feed the return of the tag above the the Hex function and have it convert it.

I don't understand :(

About the empty string, how else can i have it display "nothing" then.
Forum: oUF (Otravi Unit Frames) 03-17-09, 02:04 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Could use some quick help with this: Been...

Could use some quick help with this:

Been attempting to convert my health function to tags, this is only a part of it:

oUF.Tags['[health]'] = function(unit)
if unit == 'player' then
return...
Forum: oUF (Otravi Unit Frames) 03-15-09, 02:22 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
No, in the layout, set its attributes.

No, in the layout, set its attributes.
Forum: oUF (Otravi Unit Frames) 03-15-09, 01:24 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
In your xml you have <Button...

In your xml you have <Button name="oUF_Playerpets"

Yet in your layout you have party:SetAttribute("template", "oUF_PlayerPets")

xml = pets, layout = Pets, it's case sensitive, both have to be the...
Forum: oUF (Otravi Unit Frames) 03-14-09, 04:04 PM
Replies: 1,215
Views: 388,188
Posted By Caellian
And about the same subject, no one seems to be...

And about the same subject, no one seems to be able to give me a clear answer if it's possible to spawn NON child frames through a custom template.
Child frames like party pets, party targets,...
Forum: oUF (Otravi Unit Frames) 03-10-09, 12:25 PM
Replies: 1,215
Views: 388,188
Posted By Caellian
I'm really glad i'm wrong then, just got to find...

I'm really glad i'm wrong then, just got to find how now :)
Forum: oUF (Otravi Unit Frames) 03-10-09, 07:46 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Do you have a pastey of your layout (the frame...

Do you have a pastey of your layout (the frame spawn part) and template ?

Edit: Btw, assuming my researchs were correct, you can't spawn your MT frames with a template. So you have to spawn the MT...
Forum: oUF (Otravi Unit Frames) 03-07-09, 03:11 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Custom threat function

Oh hai, just in case someone could put some light on this:

I want to create my own threat function:

local function ColorThreat(self)
local status = UnitThreatSituation(self.unit)
if(status > 0)...
Forum: oUF (Otravi Unit Frames) 03-05-09, 04:38 PM
Replies: 1,215
Views: 388,188
Posted By Caellian
oUF.Tags['[raidname]'] = function(unit) local...

oUF.Tags['[raidname]'] = function(unit)
local name = UnitName(unit)
if (name:len() > 7) then
return name:sub(1, 7)
else
return name
end
end
Forum: oUF (Otravi Unit Frames) 03-05-09, 06:17 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
self.DebuffHighlight =...

self.DebuffHighlight = self.Health:CreateTexture(nil, 'OVERLAY')
self.DebuffHighlight:SetAllPoints(self.Health)
self.DebuffHighlight:SetTexture(yourtexture)
self.DebuffHighlight:SetVertexColor(0,...
Forum: oUF (Otravi Unit Frames) 03-04-09, 07:49 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
New frames from custom templates

Haste, or anyone else, would that be possible to have a .xml example how to spawn a raid.

I know how to spawn frames that would be parented to something created in the layout for example, a .xml for...
Forum: oUF (Otravi Unit Frames) 03-03-09, 10:25 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
I've had that weird idea to add a backdrop to my...

I've had that weird idea to add a backdrop to my buffs/debuffs buttons.
I've tried different ways, creating an invisible frame with a backdrop, adding a backdrop to the buttons themselves, but that...
Forum: oUF (Otravi Unit Frames) 03-01-09, 07:44 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
What i'm trying is to replicate the exact same...

What i'm trying is to replicate the exact same behavior as the default oUF threat module, but instead of coloring a texture, i want it to color that backdrop i'm creating around the frames.

I've...
Forum: oUF (Otravi Unit Frames) 03-01-09, 06:18 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Oh hi, again :) Allright, i'm trying something...

Oh hi, again :)

Allright, i'm trying something here, have a backdrop colored around my frames to replace the default self.Threat, and it works, well, in a weird way.

This is the function
local...
Forum: oUF (Otravi Unit Frames) 02-27-09, 09:27 PM
Replies: 1,215
Views: 388,188
Posted By Caellian
Apparently there would even be an easier way,...

Apparently there would even be an easier way, i've found this to be working just fine, and as i wasnt' using the Hex function anywhere else:

local function UpdateColor(self, element, unit,...
Forum: oUF (Otravi Unit Frames) 02-26-09, 11:04 AM
Replies: 1,215
Views: 388,188
Posted By Caellian
Two functions, both give exactly the same result...

Two functions, both give exactly the same result and works fine.

Codewise, which one is the best and if possible to know why ?

OLD
local function UpdateColor(self, element, unit, func)
local...
Showing results 1 to 25 of 121