Place a living speznaz somewhere on your map (out of the way), put in his init line: "eastdummygroup = group this"
All soldiers that should be deleted upon death, need this in their init lines:
this exec "dead.sqs"
this works for dynamicly spawned units, too. like this:
"sebnam_vcofficer" createUnit [getPos _base, eastdummygroup,"this exec {dead.sqs}"]
Finally place this script as 'dead.sqs' into your mission folder:
; Deletes dead units, run with:
; this exec "dead.sqs"
#deadloop
~30
?(alive _this):goto "deadloop"
~(random 30)
(leader eastdummygroup) action ["hidebody",_this]
~3
deleteVehicle _this
EXIT
Dead ppl sink smoothly into the ground, before getting deleted. Every soldier will run this script, but it doesn't lag very much, i tried it with over 300 men. It's cool.