Quantcast
Channel: WoWInterface - Hot Compilations list
Viewing all articles
Browse latest Browse all 8767

oUF SpellRange (5.0.0.2)

$
0
0
oUF SpellRange is an element plug-in for Haste's oUF ("http://www.wowinterface.com/downloads/info9994-oUF.html") unit frame framework that fades unit frames when out of casting range. Unlike the default oUF range fading, SpellRange works for any hostile or friendly targets, rather than group members only. You must have oUF and a compatible layout ("http://www.wowinterface.com/downloads/cat127.html") for oUF SpellRange to do anything.

Usage

The settings for implementing SpellRange are intentionally the same as the default Range element, because the two elements cannot work together. SpellRange will disable the Range element for frames where both are enabled.

To enable the SpellRange element:self.SpellRange = {
-- At least one set of required properties, listed below
};
Either of the following sets of properties is required: --- Takes priority over .insideRange/.outsideRange, and fires when changing between them.
function self.SpellRange.Update( self, InRange )

endOR self.SpellRange.insideAlpha = 1.0; -- Frame alpha when in range
self.SpellRange.outsideAlpha = 0.4; -- Frame alpha when out of rangeDon't forget to add oUF_SpellRange as an optional dependency of your layout.


Note: SpellRange is necessarily slower than the default Range element, so use it with caution for large groups like raids or parties. The default Range element will always work for "player", "pet", and any unit that passes UnitPlayerOrPetInParty ("http://www.wowwiki.com/API_UnitPlayerOrPetInParty")/UnitPlayerOrPetInRaid ("http://www.wowwiki.com/API_UnitPlayerOrPetInRaid"), however it is limited to 38 yard range.

Viewing all articles
Browse latest Browse all 8767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>