not sure why it wouldn't work. the only thing i can think of is that you may have had something selected in game before you opened the console and entered the command.
if you have something selected when you open the console there will be a REF ID in the command window for whatever you have selected. make sure there is no ref id when you open the console and you should be fine...good luck.
For the setessential command, you need to use the base ID from the editor.
For the base ID, just search for their name at UESP.
--------------------------------------------------------------------------- In the end they will lay their freedom at our feet and say to us, 'Make us your slaves, but feed us.'
yup, the ID i posted for lydia on the first page was her base ID, i was just saying that if you have something selected while the console is open, the selected item/npc will show a ref ID
--------------------------------------------------------------------------- Give a man a gun, and he can rob a bank. Give a man a bank, and he can rob the world. Give a moose a cookie, and it will probably want a glass of milk. -Wisdom
help "name" 4 With the quotations, and look for the id of the character in question. Once you found it, type: setessential id
they will never die! Only get put into the bleeding out state.
--------------------------------------------------------------------------- "The tools may be more effective than those who battled before you, but make no mistake, you are no less a barbarian than your ancestors with their clubs and rocks. The only difference now, is you do it without honor. Cowering behind your guns, your bombs. You don't use tactic, just force..."
You can use a mod from the Steam Workshop, think there is a couple. Ok they lose health but they are set to essential so they won't die.
Technically its a cheat that you can use and still get achievements, its almost as bad as the Cache of Akatosh which gives armor and weapons that make you incredibly strong.
EDIT: I see Brownie already said this >.<
[Edited by DABhand, 2/3/2013 8:29:45 AM]
--------------------------------------------------------------------------- Great site for new games with constant deals