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
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