Preventing corpse cleanup for a specific creature?

Post » Fri Jun 28, 2013 9:42 am

Hi folks,

I have been searching without much luck to try and figure out how to prevent corpse cleanup. Specifically, I am working with a mod that introduces a new breed of dragon into the world; there are about a dozen of them scattered around Tamriel, all using the same Actor base. I would like their corpses to remain in the world permanently after being defeated by the player if possible.

The only idea I've come across is to add them to the WINoBodyCleanupFaction, but many have remarked that this doesnt seem to work and corpses added to this faction still get cleaned; from what I can tell, this faction may be connected only to unique characters which may not make it an option for multiple dragons using the same actor base?

Thanks in advance for any ideas!

User avatar
Naazhe Perezz
 
Posts: 3393
Joined: Sat Aug 19, 2006 6:14 am

Post » Fri Jun 28, 2013 8:37 am

All I know, which isn't much, is that NPC's come with a deadbody cleanup script.

you could try removing that script from the npc if he has it, or if not, putting it on and then disabling it.

User avatar
Mel E
 
Posts: 3354
Joined: Mon Apr 09, 2007 11:23 pm

Post » Fri Jun 28, 2013 3:47 am

Adding it to the no clean up faction prevents the default clean up script from working, but you also need to make it persistent (this also isn't even needed if the script isn't on your dragons). You can do this by filling your dragons into a reference alias. I think you can also add a quest item to their inventory. If these are your own dragons, you can try to attach a script to it and register it for an event to make it persistent (http://www.creationkit.com/Persistence_%28Papyrus%29). Also, if you check the unique tag on your dragons, they may stick around as well (not entirely sure on this one).

User avatar
Pants
 
Posts: 3440
Joined: Tue Jun 27, 2006 4:34 am


Return to V - Skyrim