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'
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
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'