Jump to content

Recommended Posts

Posted

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.

  • 2 weeks later...
Posted

try to hang the script on the creatures:

 

 

begin scDeleteDeath
short doOnce
if ( MenuMode )
return
elseif ( CellChanged )
if ( doOnce )
Disable
endif
elseif ( GetDisabled )
SetDelete 1
elseif ( OnDeath )
Set doOnce to 1
endif
end
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...