I've already made a pretty basic unit-summoning spell that summons 1 unit at random from a selection of 3 (which works fine). I'm just struggling with how I go about replacing the summoned unit whenever the spell is cast again, like the Feral Spirit and Summon Misha (Rexxar) spells work.
It differs from those spells just because I need it so that FOR EXAMPLE if unit1 is summoned first, then if the spell is cast again, unit1, unit2, or unit3 (whichever appears) would get rid of the previous unit1. I also have the summon-trigger broken into 3 triggers, 1 for each level of the Hero ability.
I'm relatively new to triggers but definitely familiar with the w3editor otherwise...
Also, new the site and searched awhile without finding any answers, so I apologize if this is a repeat! :/
Attached the summon-unit-at-random-trigger if it somehow helps what I'm looking for.
It differs from those spells just because I need it so that FOR EXAMPLE if unit1 is summoned first, then if the spell is cast again, unit1, unit2, or unit3 (whichever appears) would get rid of the previous unit1. I also have the summon-trigger broken into 3 triggers, 1 for each level of the Hero ability.
I'm relatively new to triggers but definitely familiar with the w3editor otherwise...
Also, new the site and searched awhile without finding any answers, so I apologize if this is a repeat! :/
Attached the summon-unit-at-random-trigger if it somehow helps what I'm looking for.