Okay I set up an extensible death function in the base enemy. So now every enemy when it dies will automatically handle the death states to stop moving, stop attacking, etc. It will also automatically enable the correct physics and collision settings to enable ragdolling.