Get an Epic Experience with Premium

MTarget

Unit Frames Login to Add Favorites
  • 1 Like
  • World of Warcraft
  • 21 Monthly Downloads
  • Supports: 5.0.4
  • 4,755 Total Downloads
  • Updated 08/30/2012
  • Created 01/07/2009
  • 8 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: BSD License
  • Newest File: v5.0.4
or

About MTarget

MTarget is an addon that (primarily) assists in targeting through the replacement of tokens in macros. It announces the variables to the raid/party to allow synchronization of targets.

Through the replacement of tokens with values macros can be rewritten on the fly as group and situations dictate.

Note: Given that this is working with macros the updating of the macros can only occur when out of combat.

Version 2 removes the use of the unit ids. Using names works better because the group repositioning and tracking could not be performed effectively (zoning in and out of dungeons could easily break it) and wasn't needed.

It now includes a minimap icon so a LibDataBroker launch add-on is no longer required.

Commands

To view the command line commands run /mtarget help. For a more detailed description of the commands and menu actions have a look at the Commands page.

Options

There are a number of configurable options for MTarget available in the addon tab of the Interface options. Go to Options for a description of the options.

I would recommend having the following options turned on:

  1. Auto Write Macros

Examples

The following are two example macros that I use (for more go to Examples):

Hunter Misdirection Macro Template

/cast [@$tank,help,nodead][target=pet] Misdirection

When joining a party I assign the value tank to the name of the tank by right clicking on their name plate choosing the MTarget menu and the tank option and the macro gets rewritten to replace $tank with the player's name. In this way it can free up focus from tradition focus macros to be used for other uses. So after assigning the value of $tank you end up with the following macros:

Hunter Misdirection Macro

/cast [@MrTank,help,nodead][target=pet] Misdirection

Paladin Beacon of Light Macro Template

/cast [@$maintank,help,nodead][@$offtank,help,nodead][help,nodead] Beacon of Light

When joining a raid I assign the value "maintank to the name of the main tank by right clicking on their name plate choosing the MTarget menu and the maintank option and the same for offtank. The macro gets rewritten to replace $maintank and "$offtank" with the players' names. This goes beyond the scope of a focus macro because you essentially have two focuses. Additionally through the broadcast mechanism the main and offtanks could be assigned by a raid leader and distributed to the raid automatically.

So after assigning the value of $maintank and $offtank you end up with the following macros:

Paladin Beacon of Light Macro

/cast [@MrsMainTank,help,nodead][@MrOffTank,help,nodead][help,nodead] Beacon of Light

Tutorial

For a quick tutorial on using this addon have a look at the Getting Started page


------------------------------------------------------------------------
r81 | gameldar | 2012-08-29 05:08:57 +0000 (Wed, 29 Aug 2012) | 2 lines
Changed paths:
   A /tags/v5.0.4 (from /trunk:80)

Create a release for 5.0.4

------------------------------------------------------------------------
r80 | gameldar | 2012-08-29 05:07:17 +0000 (Wed, 29 Aug 2012) | 2 lines
Changed paths:
   M /trunk/MTarget.lua
   M /trunk/MTarget.toc
   M /trunk/MTarget_Macro.lua

Update to support 5.0.4. Only incompatibility was the position of the Template button in the Macro window needs updating.

------------------------------------------------------------------------

Comments

First Previous Page 2 of 2 Next Last
  • #8
    The assist should work - can you do two things:
    1. Check to see if the macro is being rewritten after you assign the player to the tank variable. If you go back to the macros dialog and click the macro it should have the players name in there,
    and 2. if it isn't being changed - can you check that the auto writing of macros is on. Go to interface add-ons configuration for MTarget and check what options. If you wipe your setup there is a chance this option isn't turned on.
  • #2
    One other thing that would be great is if it did not "overwrite" the icon chosen for the macro each time it re-writes it. As in if you set a target it will then make the icon the spell icon in the macro. I set the icon from the "name/icon" list so that i have a different icon to associate with all 3 misdirect macros I use. This gets "lost" each time the new target is set.
  • #4
    I've had this on my mental todo list since the original version. I'll add a ticket to remind myself to do so - it is relatively straightfoward to add just that the api doesn't take the same parameters to functions as is returned from other functions if I remember rightly so I added it to my do later list.
  • #1
    Hi there. This is a great idea for an addon considering I cannot figure out any other way to assign the Blizzard "MainTanks" to specific Misdirect macros. Also for quick assignments of assist macros and specific target macros depending on the fight etc.

    I think though there is an issue with deleting templates. It just gives an error when I try to do so. So I am ending up with an increasing number of templates as I experiment with this.

    Other than that, great addon idea. I think with a few more minor "ease of use" type features to make it a bit more intuative it would be bang on in all ways.
  • #5
    How are you trying to delete the templates? via the slash command? If so what command? What is the name of the template that you are trying to delete, or are you trying to delete all of them?

    If you have suggestions for improvements for ease of use then please make them (here or via the tickets system would make it easier for me to track). I need to find out how to get curse to notify me when I have comments for more timely responses!
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Infinite Crisis NA

Get Your Preferred Access Code!