Skyrim, Console: get list of dead NPC’S? Get command-result into file


I dug out an old Skyrim-save from the depths of my computer and I was wondering: is there any way via console-commands that would allow me to check which NPC's I killed/let die in that play through?

I have the basic idea figured out (get RefID's of known NPC's, get their health, if it's 0, they are dead.), but I fail at "grab list of Ref-ID's" currently.

Also, can I somehow reroute the result of commands coming from a batch-file into some text-file?

Best Answer

It won't dump it to a file, but you could just go to the dead body cleanup cell with 'coc WIDeadBodyCleanupCell' in the console and have a look around.