• 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.

Certain models don't disappear after dying

Status
Not open for further replies.
Level 11
Joined
Jan 23, 2015
Messages
788
I know it's because they don't have a death animation, but how do I make them disappear? Hiding doesn't helps, removing it after death makes it unable to be created later. I'm not willing to hide it and move it every time I need it.
I also have another problem with a dummy, I move it instantly after creation at the position of a unit, but instead of that, the unit moves to the dummy, even though I have not set an action to move it. (Don't tell me to check if I'm moving the dummy, cause I am)
 
Level 12
Joined
May 22, 2015
Messages
1,051
You could make the unit neutral passive and move it to some unused part of the map that no players can see (or potentially under a big doodad so the unit is hidden lol - it would still be selectable though, if it is selectable normally).

EDIT:
You'd switch it to the player that it needs to be when you want to use it again (if it needs to be owned by them). If the unit is dead, it might not be selectable, anyway, so that might not actually be a problem.

You can also use special effects to make the unit have a unique death animation, but it would probably have to be some sort of explosion lol
 
Level 18
Joined
Jun 15, 2012
Messages
498
You can try setting the units death time to a very little value (object editor - art)
If the flesh decaying time bothers you aswell you can change it in the gameplay costants (will affect all units on map tho)
 
Level 12
Joined
May 22, 2015
Messages
1,051
Maybe if you also make them not decay (Can't raise, does not decay) or something. I don't know if that would cause other problems. I think also they get removed from the game after they die and decay.
 
Level 11
Joined
Jan 23, 2015
Messages
788
You can try setting the units death time to a very little value (object editor - art)
If the flesh decaying time bothers you aswell you can change it in the gameplay costants (will affect all units on map tho)

The transparency solution will only work for a unit, I'm using an ability effect model for my unit, so it does not change transparency or color..

The dying time really worked! Thanks! +rep
 
Status
Not open for further replies.
Top