Getting an NPC to Sleep

Post » Tue Jun 19, 2012 7:11 am

Hi all,

Just started to make my own dungeon after following the tutorials on the creationkit site. Near the beginning of the dungeon I have a guard room, inside which is an Orc guard and a bed. What I want to do is have the guard be sleeping, and as the player enters the room he will wake and attack the player.

Problem I have is I can't get the guard to sleep. I've tried several different sleep packages, waited till the relevant time when he should be sleeping, entered the room and he's always just wandering around, never uses the bed.

Any ideas what I could be doing wrong?
User avatar
jennie xhx
 
Posts: 3429
Joined: Wed Jun 21, 2006 10:28 am

Post » Tue Jun 19, 2012 10:48 am

Isn't it possible to link-ref the guard to the bed, haven't tried this myself but I think it should work.
User avatar
Reven Lord
 
Posts: 3452
Joined: Mon May 21, 2007 9:56 pm

Post » Tue Jun 19, 2012 9:58 am

You should make a new AI package and use the Sleep preset and then linkref the Sleep location to your bed. Also, make SURE to set the time when you want him to sleep.
User avatar
Kelsey Hall
 
Posts: 3355
Joined: Sat Dec 16, 2006 8:10 pm

Post » Tue Jun 19, 2012 2:07 am

Thanks for the replies. I've worked out what I was doing wrong now, using the wrong type of bed, CommonBedStatic. Changed it to CommonBed01, entered the room and he was sleeping.
User avatar
[Bounty][Ben]
 
Posts: 3352
Joined: Mon Jul 30, 2007 2:11 pm


Return to V - Skyrim