What MTarget does is allow you to use a variable (in place of a player or NPC name) in your everyday macros. You can then right-click on a target and set them to that variable. For instance, a hunter might do the following, normally:
- Code: Select all
/cast [@Halleck] Misdirect
With MTarget, though, rather than changing the macro every time, they could do this:
- Code: Select all
/cast [@$tank] Misdirect
Then they could right-click the tank in their group and assign the value of $tank to the name of the character. The addon will automatically re-write the macro for you.
More interestingly is the ability to broadcast variables to your party or raid. If we were all running this, I could set the value of, say, $maintank and $offtank to Halleck and Windleaf and any place you have those variables in a macro would be updated for our raids.
Most interestingly, though, is the ability to automatically set variables of raid targets when marking. You could then use those variables in a targeting macro and never have to search for that pesky circle again.
For instance, following our kill order (which I realize doesn't normally have a skull, but when there is one, it is the priority), you could use the following macro:
- Code: Select all
/cleartarget
/tar $skull
/stopmacro [nodead,harm]
/tar $star
/stopmacro [nodead,harm]
/tar $circle
/stopmacro [nodead,harm]
/tar $diamond
/stopmacro [nodead,harm]
/tar $triangle
/stopmacro [nodead,harm]
/tar $moon
/stopmacro [nodead,harm]
/tar $square
The macro is too long to work all the way through $square, but it would probably be okay through $triangle, so those are four or five targets out of the way right there.
Mind, you the addon cannot update macros in combat, so the marking aspect of things would only be useful if done pre-pull, but it still presents some nice possibilities -- especially for those of us who love macros.
The addon can be downloaded here