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)
 
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
 
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)
 
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.
 
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.
Back
Top