View Full Version : Neph's Macro of the Week #2: Locination!
Nephyrin
02-17-2006, 03:05 AM
I would like to apologize for the delay in getting this macro out, I caught some evil throat illness from my parents' friends' children that also so happened to trigger a migraine resulting in an unfun week.
This week's macro, called 'Locination' helps to locate specific creatures or NPCs in a radar-type fashion. Simply hit the macro once and it will output "Find Macro Enabled!". After that, you can press the macro again to attempt to target the creature you're looking for, and use /find to specify what it is you're looking for. IE:
*Press* -- Find Macro Enabled!
/find Defias Trap
*Press* -- Unknown unit
*run run run*
*Press* -- *Targeted*
Anyway, you get the idea. It is much more convienant than editing the macro every time you want to look for a different creature. Since Blizzard's targetting system allows you to target pretty much any creature that is in the MOB Clip plane it works as an effective form of radar/searching.
Next week's macro will be awesomeier. I promise.
/script if(not SlashCmdList["FIND"]) then SlashCmdList["FIND"] = function(msg) ftarget=msg; end; SLASH_FIND1 = "/find"; DEFAULT_CHAT_FRAME:AddMessage("Find Macro Enabled!",0,0,.5); end; if(ftarget) then TargetByName(ftarget); end;
mech6982
02-17-2006, 07:27 AM
Is it possible to have a script like this 'ping' the mini-map when it finds the target so that we know where the target is once it's acquired?
PleegWat
02-17-2006, 11:19 AM
No. The coordinates are not available to the UI.
If you're a hunter you can cast hunter's mark and it'll appear on the map. That's the only way I know of.
genericuser
02-19-2006, 11:54 PM
Nice Macro! I am new at all of this. I created the macro icon and name, and cut and pasted the code into the macro window. I dragged the macro icon into an icon bar. Now I activate the macro and as promised it says, Find Macro enabled.
I am in Darnassus, so i decided to look for the Reagent Vendor named Alaindia. I just typed /find Alaindia and hit return. Then I clicked on the macro and as promised it says, Unknown Unit. I started running and then I stopped and hit the macro button again. This time I get the target of "Argent Guard Manados". I run further and then when I click the macro icon I get a target of, "Alliance Brigadier General"
Is this correct behavior for the macro? Please note that when I get in range of the target I entered it shows up. Did I do something wrong or does this maco return the target matching character by character instead of the whole name?
Thanks for the great macro!
Nephyrin
02-20-2006, 03:04 AM
Nice Macro! I am new at all of this. I created the macro icon and name, and cut and pasted the code into the macro window. I dragged the macro icon into an icon bar. Now I activate the macro and as promised it says, Find Macro enabled.
I am in Darnassus, so i decided to look for the Reagent Vendor named Alaindia. I just typed /find Alaindia and hit return. Then I clicked on the macro and as promised it says, Unknown Unit. I started running and then I stopped and hit the macro button again. This time I get the target of "Argent Guard Manados". I run further and then when I click the macro icon I get a target of, "Alliance Brigadier General"
Is this correct behavior for the macro? Please note that when I get in range of the target I entered it shows up. Did I do something wrong or does this maco return the target matching character by character instead of the whole name?
Thanks for the great macro!The macro uses WoW's target function, so it's the same as spamming "/target Alaindia", only you don't have to modify the macro every time you want to change targets. As such, it will target the mob that has the closest name to the one you're /finding.
morbid_o
02-22-2006, 07:55 PM
Nice. I often did something similar, but this is a MUCH better way to do it. :)
Daeanor
03-05-2006, 12:53 PM
I don't suppose there is any help for it, but my only beef is that it will target corpses. So if you are scanning for a certain type of mob that might be hiding in the bushes, all you are going to get is the dead one at your feet, or even just behind you. That said, it does work excellently for particular mobs, or in a "fresh" area.
Crissa
03-29-2006, 06:47 AM
This macro is a blast.
I think I want to turn it into an add-on that will:
Ignore targets with 0hp
Follow, Target, or Assist (instead of just Target).
-Crissa
luckyrabbit1982
06-21-2006, 04:05 PM
would it be possible ..please please please.....to add in the thing you were talking about for hunters mark...or tell me how to do it. I don't know much about scripting, but am trying to find a way to SPAM /target ... to find my demons...
Any hints?
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.