Page 1 of 1

Pet Searching Macro

Posted: December 17th, 2012, 11:12 pm
by Jordicus
I wrote this for myself to help find the rarer pets. Just change "minfernal" to the pet you are currently searching for. If it finds a match, it targets it. If it's a Battle Pet, it will mark it with the X target icon. Helps to have the Target marker enabled on the minimap too. Hotkey the macro and spam it as you fly around.

/cleartarget
/target [noexists][nodead] minfernal
/script s=strfind t="target" if UnitExists(t) then if s(UnitCreatureType(t),"Wild Pet") then if not GetRaidTargetIndex(t) then SetRaidTarget(t,7) end end end

Re: Pet Searching Macro

Posted: December 18th, 2012, 7:20 am
by Pubrulz
Bless you. Wish I had seen this before many of the pets I've acquired, but should help quite a bit.

Re: Pet Searching Macro

Posted: December 20th, 2012, 2:10 am
by Scarydreams
Thank you very much I wish I had found this allot sooner.

Re: Pet Searching Macro

Posted: December 20th, 2012, 7:25 am
by Waveryn
That is nice, is there a way to target them and actually engage also, just spamming the button? Would help in heavily farmed areas.

Re: Pet Searching Macro

Posted: December 20th, 2012, 8:08 am
by Jordicus
Waveryn wrote:That is nice, is there a way to target them and actually engage also, just spamming the button? Would help in heavily farmed areas.
the "interact with" action cannot be scripted. however there is a keybind for it. In the Targeting section look for "Interact with Target". very helpful keybind to have set, especially when you run across wild pets that are in tight locations

Re: Pet Searching Macro

Posted: December 20th, 2012, 8:20 am
by Waveryn
Thank You Jordicus I will look that up.

Re: Pet Searching Macro

Posted: December 26th, 2012, 3:19 pm
by Humbelle
I started using this macro and was able to get a Scourged Whelpling, Minfernal and Emerald Proto-Whelp all within half an hour. :-)