ProfArmitage Posted August 25, 2017 Posted August 25, 2017 Is there a script to automatically dispose of a creature's corpse when it's killed? The closest I could find with a quick look through the modding wiki was disabling a creature when it's killed, and I don't think that will work. The effect I'm looking for is a cursed area full of undead that rapidly reappear until the curse is broken, and my first thought was to automatically dispose of the corpses so they always respawn when the cell is reentered.
ZWolol Posted September 6, 2017 Posted September 6, 2017 try to hang the script on the creatures: begin scDeleteDeath short doOnce if ( MenuMode ) returnelseif ( CellChanged ) if ( doOnce ) Disable endifelseif ( GetDisabled ) SetDelete 1elseif ( OnDeath ) Set doOnce to 1endif end
Recommended Posts