View Single Post
01-16-05, 07:22 AM   #4
Cide
Swedeheart
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 96
Originally Posted by Schrade
Yay Cide! Thanks so much.

Here's what I want:

I want a script for my healer friends that use CastParty.

Basically, I want them to be able to hit a script and that script will automatically figure out my pet and cast a heal on the pet.

So here's what I had in mind:

/script (Put whatever needs to go here to target my pet)
/script CastParty_DoTheRightThing();
/script TargetLastEnemy();

I know you can just do /target PetName but I want it to be able to target my pet no matter what name it has. So like some lua function to Target Schrade's pet only.
Well, to target the player named "Schrade"'s pet:
/target Schrade
/script TargetUnitsPet("target")

That should be enough. As a little hint on what we're developing for CTMod right now; it's somewhat like what you asked, yet different . Things are going well, and if we're lucky, you might see version 1 in a matter of days. I can say that it's gonna help priests bigtime .

@ Cairenn: I'd love to see a good source for WoW interfaces, so I will do my best to support this site .
__________________
CTMod Developer
  Reply With Quote