Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: haste
Forum: oUF (Otravi Unit Frames) 01-10-14, 04:36 AM
Replies: 82
Views: 3,290
Posted By haste
I wouldn't really worry much about a few extra...

I wouldn't really worry much about a few extra function calls to fairly lightweight functions. :P
Forum: oUF (Otravi Unit Frames) 12-24-13, 06:17 AM
Replies: 7
Views: 513
Posted By haste
Tags support frequentUpdates...

Tags support frequentUpdates (https://github.com/haste/oUF/blob/master/elements/tags.lua#L654), but you have to set the variable before calling :Tag(). Swap the order and it will work.
Forum: oUF (Otravi Unit Frames) 12-20-13, 04:20 PM
Replies: 7
Views: 416
Posted By haste
That's pretty much the goal of it. :3

That's pretty much the goal of it. :3
Forum: oUF (Otravi Unit Frames) 12-19-13, 12:14 PM
Replies: 7
Views: 416
Posted By haste
yes and yes. :)

yes and yes. :)
Forum: oUF (Otravi Unit Frames) 12-19-13, 10:21 AM
Replies: 7
Views: 416
Posted By haste
Element assignment: I use the first solution to...

Element assignment: I use the first solution to save myself from some typing (and table lookups as a bonus). No real need to worry about either of these tbh, both are fine.

Tag: The syntax is pretty...
Forum: oUF (Otravi Unit Frames) 11-21-13, 12:32 PM
Replies: 5
Views: 770
Posted By haste
Awesome :) There's a simple doc-generator in...

Awesome :)

There's a simple doc-generator in utils, if you want to test things. It might break horribly on things tho'. :P.
Forum: oUF (Otravi Unit Frames) 11-21-13, 12:05 PM
Replies: 5
Views: 770
Posted By haste
The wiki is fairly out of date and most of the...

The wiki is fairly out of date and most of the information should have been moved into the actual source files instead.

The plan was to generate a set of gh-pages for it all, but... <insert typical...
Forum: oUF (Otravi Unit Frames) 11-05-13, 05:53 AM
Replies: 3
Views: 505
Posted By haste
I assume you have something else as parent for...

I assume you have something else as parent for Health. You could always access it through Health.__owner, which is set when the health element is enabled for the unit frame.
Forum: oUF (Otravi Unit Frames) 08-20-13, 01:00 PM
Replies: 5
Views: 1,266
Posted By haste
I don't really see how it would help, but...

I don't really see how it would help, but something simple like this should work:

diff --git a/elements/tags.lua b/elements/tags.lua
index 9826269..76e8c2d 100644
--- a/elements/tags.lua
+++...
Forum: oUF (Otravi Unit Frames) 08-20-13, 11:31 AM
Replies: 5
Views: 1,266
Posted By haste
It could be added as global in the tag functions...

It could be added as global in the tag functions environment, but is it really necessary?
Forum: oUF (Otravi Unit Frames) 05-31-13, 01:19 AM
Replies: 3
Views: 1,837
Posted By haste
I added a workaround, but never got around to...

I added a workaround, but never got around to push a version with it. Then 5.3 was released :P.
Forum: oUF (Otravi Unit Frames) 05-31-13, 01:12 AM
Replies: 1
Views: 1,700
Posted By haste
Yes :(. Thanks for letting me know, should be...

Yes :(.

Thanks for letting me know, should be fixed now.
Forum: oUF (Otravi Unit Frames) 05-30-13, 04:45 PM
Replies: 3
Views: 1,837
Posted By haste
People need to read changelogs :P.

People need to read changelogs :P.
Forum: oUF (Otravi Unit Frames) 04-27-13, 05:07 AM
Replies: 9
Views: 2,180
Posted By haste
A lot on my plate currently, but I'll try to come...

A lot on my plate currently, but I'll try to come with some feedback during this weekend.
Forum: oUF (Otravi Unit Frames) 04-27-13, 05:06 AM
Replies: 2
Views: 1,342
Posted By haste
The arguments to ColorGradient was changed in...

The arguments to ColorGradient was changed in 1.6.x. It's now ColorGradient(cur, max, ...).
Forum: oUF (Otravi Unit Frames) 04-20-13, 12:04 PM
Replies: 17
Views: 4,501
Posted By haste
It's actually us, the authors, patching these...

It's actually us, the authors, patching these files. We ****ed up here, not Blizzard. :)
Forum: oUF (Otravi Unit Frames) 04-17-13, 07:22 AM
Replies: 9
Views: 2,180
Posted By haste
It's your sort function. Sorting .Auras is a real...

It's your sort function. Sorting .Auras is a real PITA.

You basically need to implement a sort function that sorts buffs and debuffs for themselves, while maintaining the gap between and handles...
Forum: oUF (Otravi Unit Frames) 03-31-13, 05:49 AM
Replies: 20
Views: 5,440
Posted By haste
Add true as the third argument to...

Add true as the third argument to :RegisterEvent:

elseif(unit:match'(boss)%d?$' == 'boss') then
object:RegisterEvent('INSTANCE_ENCOUNTER_ENGAGE_UNIT', object.UpdateAllElements, true)


It seems...
Forum: oUF (Otravi Unit Frames) 03-28-13, 04:29 PM
Replies: 20
Views: 5,440
Posted By haste
Is it just one fight it bugs out on or all of...

Is it just one fight it bugs out on or all of them? I've only done some limited testing in RFC and it seemed that events worked properly there (with and without the boss targeted).
Forum: oUF (Otravi Unit Frames) 03-28-13, 07:00 AM
Replies: 4
Views: 2,168
Posted By haste
local function func() end -- is sugar for: local...

local function func() end
-- is sugar for:
local func;
func = function() end

-- Also note that:
local func = function()
print(func) -- prints nil
end
local function func()
Forum: oUF (Otravi Unit Frames) 03-15-13, 08:14 AM
Replies: 13
Views: 5,823
Posted By haste
Not sure if I still have my proof of concept for...

Not sure if I still have my proof of concept for this anymore. Creating a issue over at GitHub so it won't get forgotten again.
Forum: oUF (Otravi Unit Frames) 01-17-13, 04:50 AM
Replies: 20
Views: 4,614
Posted By haste
Set a OnValueChanged...

Set a OnValueChanged (http://wowprogramming.com/docs/scripts/OnValueChanged) script handler on the power bar and update the text based on the value it receives.
Forum: oUF (Otravi Unit Frames) 01-06-13, 05:18 PM
Replies: 5
Views: 1,885
Posted By haste
That requires quite a lot more...

That requires quite a lot more work:

ReturnCastbar = function()
-- Move the player castbar back to player.
local castbar = YourPlayerFrame.Castbar

castbar:ClearAllPoints()
...
Forum: oUF (Otravi Unit Frames) 01-06-13, 12:39 PM
Replies: 4
Views: 1,790
Posted By haste
Yes. (10 characters)

Yes.

(10 characters)
Forum: oUF (Otravi Unit Frames) 01-06-13, 02:52 AM
Replies: 4
Views: 1,790
Posted By haste
The variable was renamed to isDebuff a while...

The variable was renamed to isDebuff a while ago.

f1f7f6331bb835a9c6d63a11fe64f8889924f39d (1f7f6331bb835a9c6d63a11fe64f8889924f39d)
Showing results 1 to 25 of 500