Jump to content

Anyone know how to make bodies disappear?


sternumofvecna

Recommended Posts

Howdy! I'm working on some summoning spells and have figured out pretty much all the steps i need, but there is one thing keeping me from being satisfied with my work: Unlike Conjure Daedra and Conjure Familiar, my summoning spells leave corpses.

 

Any idea how to make it so when they die they just disappear, maybe after they ragdoll? I found a workaround for the ghosts (I made a second DefaultGhostAshPile script and unchecked "show on local map") but I don't think that'll work for things like skeletons.

Link to comment
Share on other sites

On many NPCs there is a WIDeadBodyCleanupScript. It moves them to a dead body cell.

 

function cleanUpBody()

MoveTo(WI.WIDeadBodyCleanupCellMarker)

DeathContainer.SetActorOwner(GetActorBase())

DeathContainer.Enable()

RemoveAllItems(DeathContainer)

EndFunction

Link to comment
Share on other sites

On many NPCs there is a WIDeadBodyCleanupScript. It moves them to a dead body cell.

 

function cleanUpBody()

MoveTo(WI.WIDeadBodyCleanupCellMarker)

DeathContainer.SetActorOwner(GetActorBase())

DeathContainer.Enable()

RemoveAllItems(DeathContainer)

EndFunction

 

Haha, followup: I'm a goofball. Turns out it was the defaultghost script that was spawning ashes whenever the creature died. When I deleted the script and instead added the Ghostability spell to the creatures spell-list, the creature died without leaving a body as normal. Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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