This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I have my cast bar with the [NameWhenNotCasting] tag. When I select it, it just stays blank.
Also tried [NameWhenImNotCasting] as that's what the tag is called in the UI and that doesn't work either.
Thanks for a decade of the best UF addon ever made!
Edit: Yeah, so it was LITERALLY 10 years ago when I set this up, as now I found the tag alongside one called "Level_if_not_casting_or_80", which shows the target's level if it's not casting... or level 80, as that was the max at the time. Anyway, the NameIfNotCasting tag was as below. Any idea what broke?
function(unit, unitOwner)local SpellCasting = UnitCastingInfo(unit)local SpellChanneling = UnitChannelInfo(unit) if not SpellCasting then if not SpellChanneling then return UnitName(unit) or UNKNOWN end endend
The Lua code seems fine to me, but maybe the event update triggers are broken?
It just shows in my unitframes as "[NameWhenNotCasting]", like it isn't parsed at all. I haven't changed it in 10 years, so must be something in the API or addon. My event triggers are:
UNIT_SPELLCAST_CHANNEL_INTERRUPTED UNIT_NAME_UPDATE UNIT_SPELLCAST_START UNIT_SPELLCAST_CHANNEL_START UNIT_SPELLCAST_DELAYED UNIT_SPELLCAST_CHANNEL_UPDATE UNIT_SPELLCAST_INTERRUPTED UNIT_SPELLCAST_STOP UNIT_SPELLCAST_CHANNEL_STOP UNIT_SPELLCAST_FAILED
To post a comment, please login or register a new account.