I'm trying to create a heroic footman to replace the standard footman. I had done this in a map a few years ago, but my work sadly has been lost. I'm specifically wanting the new heroic unit to behave exactly like the old one but I'm currently running into an issue where when it dies, the 'hero death' animation plays leaving no corpse and making the unit revivable from the Altar.
I am trying to get him to die just like a standard unit, ie. leave a corpse and not be revivable from an Altar. I -had- this working in my old version but now I can't seem to figure out how to do it. I would have thought that setting Combat Death Type to Can raise, does decay would be the setting to set but apparently not, and I can't find a hero setting for a specific unit saying that it cannot be revived.
At the moment I'm going it with a hacky trigger (see below), which has its own drawbacks, specifically: The dead unit corpse is not the actual unit, just a corpse of that unit type, so any individual unit data, ie. xp, is lost if a paladin revives them. Also if I use Unit - A unit Becomes revivable trigger event, The 'hero death' animation still plays, or if I use Unit - Dies, no death animation plays at all.
So my question is: Is there a way to do this without using triggers, or if triggers are necessary, is there a way to do this with a nicer trigger than the one I am currently using?
(Edit: Also...not really sure if this thread should be here or in the trigger section... I would really like to be able to do it without triggers, but I will take either option)
I am trying to get him to die just like a standard unit, ie. leave a corpse and not be revivable from an Altar. I -had- this working in my old version but now I can't seem to figure out how to do it. I would have thought that setting Combat Death Type to Can raise, does decay would be the setting to set but apparently not, and I can't find a hero setting for a specific unit saying that it cannot be revived.
At the moment I'm going it with a hacky trigger (see below), which has its own drawbacks, specifically: The dead unit corpse is not the actual unit, just a corpse of that unit type, so any individual unit data, ie. xp, is lost if a paladin revives them. Also if I use Unit - A unit Becomes revivable trigger event, The 'hero death' animation still plays, or if I use Unit - Dies, no death animation plays at all.
So my question is: Is there a way to do this without using triggers, or if triggers are necessary, is there a way to do this with a nicer trigger than the one I am currently using?
(Edit: Also...not really sure if this thread should be here or in the trigger section... I would really like to be able to do it without triggers, but I will take either option)
-
HeroDeath
-
Events
-
Unit - A unit Becomes revivable
-
-
Conditions
-
And - All (Conditions) are true
-
Conditions
-
(Unit-type of (Triggering unit)) Not equal to Paladin
-
(Unit-type of (Triggering unit)) Not equal to Archmage
-
(Unit-type of (Triggering unit)) Not equal to Mountain King
-
(Unit-type of (Triggering unit)) Not equal to Blood Mage
-
(Unit-type of (Triggering unit)) Not equal to Blademaster
-
(Unit-type of (Triggering unit)) Not equal to Far Seer
-
(Unit-type of (Triggering unit)) Not equal to Tauren Chieftain
-
(Unit-type of (Triggering unit)) Not equal to Shadow Hunter
-
(Unit-type of (Triggering unit)) Not equal to Death Knight
-
(Unit-type of (Triggering unit)) Not equal to Lich
-
(Unit-type of (Triggering unit)) Not equal to Dreadlord
-
(Unit-type of (Triggering unit)) Not equal to Crypt Lord
-
(Unit-type of (Triggering unit)) Not equal to Keeper of the Grove
-
(Unit-type of (Triggering unit)) Not equal to Priestess of the Moon
-
(Unit-type of (Triggering unit)) Not equal to Demon Hunter
-
(Unit-type of (Triggering unit)) Not equal to Warden
-
(Unit-type of (Triggering unit)) Not equal to Alchemist
-
(Unit-type of (Triggering unit)) Not equal to Naga Sea Witch
-
(Unit-type of (Triggering unit)) Not equal to Tinker
-
(Unit-type of (Triggering unit)) Not equal to Beastmaster
-
(Unit-type of (Triggering unit)) Not equal to Dark Ranger
-
(Unit-type of (Triggering unit)) Not equal to Firelord
-
(Unit-type of (Triggering unit)) Not equal to Pandaren Brewmaster
-
(Unit-type of (Triggering unit)) Not equal to Pit Lord
-
-
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
Unit - Remove (Triggering unit) from the game
-
Unit - Create a (Unit-type of (Triggering unit)) corpse for (Owner of (Triggering unit)) at (Position of (Triggering unit))
-
-