Since I'm not getting much reply on a different forum (Not on this site...) I decided to try here.
I'm very noob when it comes to writing JASS, but not too terrible at implementing it. I need a custom script that ties into Hero abilites. Here goes:
I have a Hero with a few summon abilities. Now every time he uses a different ability to summon a different creature, I want the old creatures that he has previously summoned that are still alive to be destroyed (I.e. For sake of convience we'll say a Beast Master has summoned his Bear. Now when he tries to summon his hawk/quillboar/whatever, It destroys his bear and replaces it with the newly summoned creature).
Any questions post here or PM me. I'd appreciate any feedback.
I'm very noob when it comes to writing JASS, but not too terrible at implementing it. I need a custom script that ties into Hero abilites. Here goes:
I have a Hero with a few summon abilities. Now every time he uses a different ability to summon a different creature, I want the old creatures that he has previously summoned that are still alive to be destroyed (I.e. For sake of convience we'll say a Beast Master has summoned his Bear. Now when he tries to summon his hawk/quillboar/whatever, It destroys his bear and replaces it with the newly summoned creature).
Any questions post here or PM me. I'd appreciate any feedback.