If you're familiar with WC3, I basically want this to work like the Far Seer's wolf spell: recasting the spell kills the existing summon. However, in my case, this is a spell not for a hero unit, so there will be many units summoning their own "wolf."
I basically have to somehow tie a summoned unit to its summoner, and make it so the spell being cast removes the summoned unit as it creates a new one.
Add a behavior A to the summon upon birth (be sure the caster is the one applying the behavior) which kills the summon if the caster has behavior X, using a "unit compare behavior count" validator that checks the caster unit.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
If you're familiar with WC3, I basically want this to work like the Far Seer's wolf spell: recasting the spell kills the existing summon. However, in my case, this is a spell not for a hero unit, so there will be many units summoning their own "wolf."
I basically have to somehow tie a summoned unit to its summoner, and make it so the spell being cast removes the summoned unit as it creates a new one.
Is this even possible?
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Add a behavior A to the summon upon birth (be sure the caster is the one applying the behavior) which kills the summon if the caster has behavior X, using a "unit compare behavior count" validator that checks the caster unit.