07-22-2005, 10:01 AM
I have a friend who plays a warlock and says she has trouble re-seducing things because she has to switch her target from the ones attacking to the seduced mob and back and forth. So we were talking about making a macro to help her. I gave it a shot, but I don't really know much about macros. I was thinking something like the following:
/assist PetNameHere
/script CastPetAction(#);
Which I figured would make her target be her pet's target and then cast seduce. For some reason it didn't work though. I don't know if that is because of a syntax problem or if my logic is wrong or what. It also occurs to me that it might be good to return her to her last target as well if possible. I think there is a command for that, but I've not looked it up since I just thought of that bit while typing this.
She tells me that the macro gave the error "unit not found" so my best guess is that the /assist PetNameHere part isn't able to find the pet. I don't really know enough to troubleshoot it though. Can somebody give me a hand here? Tell me what needs to be done to make such a macro work. Am I even close with what I threw together?
/assist PetNameHere
/script CastPetAction(#);
Which I figured would make her target be her pet's target and then cast seduce. For some reason it didn't work though. I don't know if that is because of a syntax problem or if my logic is wrong or what. It also occurs to me that it might be good to return her to her last target as well if possible. I think there is a command for that, but I've not looked it up since I just thought of that bit while typing this.
She tells me that the macro gave the error "unit not found" so my best guess is that the /assist PetNameHere part isn't able to find the pet. I don't really know enough to troubleshoot it though. Can somebody give me a hand here? Tell me what needs to be done to make such a macro work. Am I even close with what I threw together?