Originally Posted by Mikord
I think you just need to use the %r (name of the recipient) event code. I believe that one is available for health changes. It should also be colored according to the class of that person if you have the class coloring options enabled.
|
If I use "%r" in the Output Message, I get the following error (spam inc):
Date: 2009-05-15 22:49:46
ID: 1
Error occured in: Global
Count: 1
Message: ...rface\AddOns\MikScrollingBattleText\MSBTTriggers.lua line 457:
bad argument #1 to 'string_find' (string expected, got nil)
Debug:
[C]: ?
[C]: ?
...rface\AddOns\MikScrollingBattleText\MSBTTriggers.lua:457:
...rface\AddOns\MikScrollingBattleText\MSBTTriggers.lua:431
...rface\AddOns\MikScrollingBattleText\MSBTTriggers.lua:569:
...rface\AddOns\MikScrollingBattleText\MSBTTriggers.lua:519
...rface\AddOns\MikScrollingBattleText\MSBTTriggers.lua:705:
...rface\AddOns\MikScrollingBattleText\MSBTTriggers.lua:702
AddOns:
Swatter, v3.1.13 (<%codename%>)
Bartender4, v4.3.2
ButtonTimers, v1.2.2
Examiner, v09.04.18
Gladius, vr25
InspectEquip, v1.2.3
InternalCooldowns, v
MikScrollingBattleText, v5.4.55
MSBTOptions, v
Necrosis, v3.0 (r221)
oRA2, v2.0.$Revision: 657 $
Prat30, v3.1.5
Prat30HighCPUUsageModules, v
Prat30Libraries, v
Quartz, v1.0
QuartzFlight, v1.0
QuartzGCD, v1.0
QuartzInterrupt, v1.0
QuartzLatency, v1.0
QuartzMirror, v1.0
QuartzPet, v1.0
QuartzPlayer, v1.0
QuartzRange, v1.0
QuartzSwing, v1.0
QuartzTimer, v1.0
QuartzTradeskill, v1.0
RatingBuster, v
Recount, v
SexyMap, v
(ck=28b)
There may be a problem with the way I've set up the trigger, so here's how I've done it:
Trigger Classes:
-All Classes
Main Events:
-Health Change - 2 Conditions:
-Threshold - Is Less Than - 25
-Unit ID - Is Equal To - Target (also have one for focus)
Output Message: %r is below 25!
Any further help would be very much appreciated!
/T