| Tested: | Hour of Twilight 4.3 |
| Updated: | 11-29-11 05:10 PM |
| Created: | 03-20-09 11:37 PM |
| Downloads: | 17,695 |
| Favorites: | 124 |
| MD5: |

self.SpellRange = {
… -- At least one set of required properties, listed below
};
--- Takes priority over .insideRange/.outsideRange, and fires when changing between them. function self.SpellRange.Update( self, InRange ) … end
self.SpellRange.insideAlpha = 1.0; -- Frame alpha when in range self.SpellRange.outsideAlpha = 0.4; -- Frame alpha when out of range
File Name |
Version |
Size |
Author |
Date |
4.2.0.1 |
3kB |
Saiket |
06-28-11 02:01 PM |
|
4.1.0.1 |
3kB |
Saiket |
04-26-11 11:01 AM |
|
4.0.0.1 |
3kB |
Saiket |
10-12-10 03:59 PM |
|
3.3.5.1 |
3kB |
Saiket |
07-10-10 11:32 PM |
|
3.3.0.2 |
3kB |
Saiket |
01-16-10 04:54 PM |
|
3.3.0.1 |
3kB |
Saiket |
12-08-09 01:48 PM |
|
3.2.0.2 |
3kB |
Saiket |
08-08-09 03:57 PM |
|
3.2.0.1 |
3kB |
Saiket |
08-04-09 04:37 PM |
|
3.0.9.6 |
3kB |
Saiket |
04-05-09 02:08 AM |
|
3.0.9.5 |
3kB |
Saiket |
04-04-09 01:49 PM |
|
3.0.9.4 |
2kB |
Saiket |
03-22-09 04:54 AM |
|
3.0.9.3 |
2kB |
Saiket |
03-22-09 02:14 AM |
|
3.0.9.2 |
2kB |
Saiket |
03-21-09 03:04 AM |
|
3.0.9.1 |
2kB |
Saiket |
03-20-09 11:37 PM |
![]() |
Comment Options |
|
|
|
|
A Deviate Faerie Dragon
Forum posts: 11
File comments: 13
Uploads: 0
|
Hi,How make the castbar like 'quartz' ,that: if IsSpellInRange,castbar is the normal color, then target won't be outside,the castbar will be another color.
It make me know the spelling can't be successful. thanks. |
|
|
|
|
||
|
A Murloc Raider
Forum posts: 6
File comments: 23
Uploads: 0
|
I'll double check the code in the harm/help and make sure I didn't create the issue. |
|
|
|
|
|
||
|
||
|
|
|
|
|
|
A Murloc Raider
Forum posts: 6
File comments: 23
Uploads: 0
|
I've added spell range to my unit frames and it's perfect for making sure I'm in range to focus pummel/rebuke which was quite important but now I've noticed another issue and I'm not sure what it is.
![]() Picture of me next to player ![]() Picture of me next to target dummy in range ![]() Picture of me next to target dummy out of range So The target dummy in and out of range works exactly like I intended but the player frame it just shows out of range no matter how close I am. Is this likely to be a code issue of something I have done or is there a way to resolve this? |
|
|
|
|
|
|
3.3.5.1 Change
Just a note for users, the following error from version 3.3.5.1+ must be handled by the author of your oUF layout:
Code:
oUF layout addon using invalid SpellRange element. |
|
|
|
|
|
||
Will report if it works! ^^ Thanks for the quick response mate. ![]() EDIT - Ye, it was it. What a nub error... :S
Last edited by neverg : 06-17-10 at 12:50 PM.
|
||
|
|
|
|
||
What you have there should work once it's taken out of that test. |
||
|
|
|
|
|
|
I'm trying to add support of SpellRange to my UnitFrames (oUF_Lumen) and somehow I'm not getting it. It should work fairly simple but it just doesn't.
I've added this: Code:
-- oUF_SpellRange
if IsAddOnLoaded("oUF_SpellRange") then
if(unit) then
self.SpellRange = true
self.inRangeAlpha = 1
self.outsideRangeAlpha = 0.3
end
end
|
|
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
MMMMMMWAH! 8*
I love you |
|
|
|
|
||
|
||
|
|
|
|
|
|
Using oUF/oUF_Caellian - After today's upgrade, I get the following error. Would this be an issue with SpellRange, or the layout? The layout is not being reported in any way, though "parent addon" makes it sound like it might be the layout?
Code:
Message: ..\AddOns\oUF_SpellRange\oUF_SpellRange.lua line 16: X-oUF metadata missing in parent addon. Debug: (tail call): ? [C]: ? [C]: assert() oUF_SpellRange\oUF_SpellRange.lua:16: in main chunk
__________________
We'd be together, but only diamonds last forever... |
|
|
|
|
|
||
|
||
|
|
|
|
|
|
A Deviate Faerie Dragon
Forum posts: 13
File comments: 15
Uploads: 0
|
The oUF Range element does not have a Disable function implemented, it just works on the oUF.objects table. So DisableElement( "Range" ) in your code just fails silently. What prevents the default function from executing is you nilling object.Range. Frankly it should work like all the other elements, will possibly post a feature request for Haste soon.
Last edited by nailertn : 08-26-09 at 09:25 AM.
|
|
|
|
|
||
|
A Kobold Labourer
Forum posts: 0
File comments: 18
Uploads: 0
|
|
|
|
|
![]() |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.