I "accidently" killed Heimskr, but now I miss him. I spawned him in with the console command, but he just walks to the shrine of Talos and stands there without preaching. His preaching is an important part of Skryim, even though some people might not like Heimskr. Does anybody know how to make him preach again?
Due to game mechanics it is entirely plausible that many interesting NPCs die.
If this upsets you and you would like to resurrect without reloading to a previous save then, naturally you can resort to console commands, as you have attempted.
There is one fool proof guide to which I have found to restore and revert, and I have paraphrased it here:
- Go to UESP, search for the NPC in question and record it's RefID
- Launch the game, open console and type
Prid #RefID, where
#RefIDis the number you wrote down This will make your console select the NPC as a target for future commands
- Now type
moveto player, making the NPC's dead body appear at your feet. This isn't strictly necessary but it'll allow you to immediately check whether the NPC has been revived and is functioning.
- Now enter the
recycleactorcommand. This will revive the NPC to its default status including inventory and area specific behavior