Probably would just make the actor play the 'death' animation and have it on play forever. Or something like that, haven't gotten around to actually trying it yet.
people have asked this and my current map has permanent corpses. but they are 'static' corpses (actually alive uniuts, just filtered out to appear dead / untargetable / unselecatble to everyone) as i wanted people to be able to 'blow' corpses up or pick them up and move them. how i did it was just took out the death animation for the units completely that are leaving corpses. then a behavior that on death spawns a new unit. which is the untargetable etc.... same corpse type. i have it play the death animation right away, then use a timer and pause it after 4 seconds (so it freezes when its on the ground). it works like a charm for me. there may be a simpler way, but my way allows me to still blow them up with explosions and certain units can pick them up and move them in real time. everything i did was with the data editor.
so in a nutshell; i played the death animation, then used an event timer and paused the animation after x seconds so it stayed 'dead on the ground'
Animation - Play Death animation ??
Nothing even happens. :<
Though when i kill the unit and use Actor Message - AnimationPause works if i do it instantly, can't do it after X seconds.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I want that when a unit dies, it doesn't decay/disappear after the death animation. Is it possible?
Bump!
Probably would just make the actor play the 'death' animation and have it on play forever. Or something like that, haven't gotten around to actually trying it yet.
people have asked this and my current map has permanent corpses. but they are 'static' corpses (actually alive uniuts, just filtered out to appear dead / untargetable / unselecatble to everyone) as i wanted people to be able to 'blow' corpses up or pick them up and move them. how i did it was just took out the death animation for the units completely that are leaving corpses. then a behavior that on death spawns a new unit. which is the untargetable etc.... same corpse type. i have it play the death animation right away, then use a timer and pause it after 4 seconds (so it freezes when its on the ground). it works like a charm for me. there may be a simpler way, but my way allows me to still blow them up with explosions and certain units can pick them up and move them in real time. everything i did was with the data editor.
so in a nutshell; i played the death animation, then used an event timer and paused the animation after x seconds so it stayed 'dead on the ground'
Animation - Play Death animation ?? Nothing even happens. :< Though when i kill the unit and use Actor Message - AnimationPause works if i do it instantly, can't do it after X seconds.