Someone once asked me how to set up
ACT to trigger when your pet is hit by a reactive. Here's how.
First, you need to identify what the attack is called. In this case, let's pretend that we're fighting a mob called An Angry Halfling, and he has the attack "A Very Annoying Attack" and you want ACT to alert you any time your pet is affected by it.
As such you might have a log entry that looks something like this (note that your actual log file isn't color, this is simply for visibility purposes).
(1255107056)[Fri Oct 09 09:00:56 2009] An Angry Halfling's A Very Annoying Attack hits Sess for 1234 bacon damage.
The Red portion of the log is the time stamp, we can ignore it. Orange is the mob's name. The Green portion is what we're interested in, describing the name of the attack and the target (in this case, my pet, which is named the same as me). The Yellow portion is the damage type, which is unimportant for our purposes.
First things first, open up ACT and select the Triggers/Sounds tab. It should look something like this.
To get ACT to trigger, we need to replace the text between .*? and .* In this case, we want
A Very Annoying Attack hits Sess to appear in ACT. So we replace "Text to match" with:
There's two ways you can get ACT to alert you. Either with a WAV of your choice, or TTS (Text-to-Speech). I prefer text to speech, and I prefer to keep it something simple (simply the word Pet).
When you're set, click the Add/Edit button, and it gets added to your active triggers:
Keep in mind that many mobs can also critical their attacks, so it's important to add "critically hits" to the expression, or else you will miss criticals altogether.
To test it, simply /say your phrase (ie: /say A Very Annoying Attack hits Sess), and see if ACT responds. If it does, you're golden.
You can use this to have ACT trigger for any and all things that hit your pet, so long as it leaves a log entry. It's easiest when your pet actually takes damage, but it will work for non-damage attacks as long as there is a log entry to go wit hit.