• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Hero Corpse

Status
Not open for further replies.
If you just want a corpse visually, set its Art - Death Time (seconds) in the Unit Editor to a higher number. You can go above 20.00 seconds by holding shift while clicking to change the value. This will prevent the dissipate animation from playing until that amount of time has passed.

If you want the corpse to be used with abilities like Cannibalize or Raise Dead, you'll have to replace the dead hero with a dead unit that uses the same model as the hero. If the model used is specifically made to be a hero, then chances are it won't have a decay animation. You can use the trigger action Unit - Create Corpse, but it will instantly create a corpse and will only show the stand animation of hero models.
 
Create a dummy unit which has the same model of the hero e.g if the hero is Paladin, then you create a dummy unit with model Paladin
Then, by triggers, you check when the hero dies, wait for him to play his death animation and then through the Unit - Create Corpse, you create a corpse of the dummy unit.
 
I'm planning to make one generic trigger (if u know what i mean - one trigger and one dummy for each hero, cause there will be lots of heroes) , or i can just create a corpse of the dying unit once it finishes with the dying animation?
what do you say? :D
 
Status
Not open for further replies.
Back
Top