Think you macro it then click tank hit the macro and it will then switch to his target when you set up the macro correctly. I might be wrong though.