Another possibility could be to take away the default icons from the pet window. Code up custom ones that have different functionality for each pet.
Then, to change the window functionality, set a variable when you cast the correct pet.
Either check the spell being cast...? Or set the variable in a hotbutton that casts the pet.
Thoughts?
|