Sleep AI for Housecarls help

Post » Mon Jun 18, 2012 5:42 pm

Hey
I've made the small mod Better Lydia AI (old name Chair for Lydia).
So I gave Lydia the sleep ai package... but when I ask her to follow me, she will go back to sleep.
It's not "game breaking" because she follows me when I've fast traveled or if I leave the town.

So my question is... why does she go back to sleep? and how can I fix it? :smile:
User avatar
Michael Korkia
 
Posts: 3498
Joined: Mon Jul 23, 2007 7:58 pm

Post » Mon Jun 18, 2012 10:34 am

Sounds like the Sleep package is taking precidence over the follow package. If its in her stack, place the follow above it. Or give it a condition not to run when she is supposed to follow. Theres probably a bool variable on the follower scripts you can address.
User avatar
Jennie Skeletons
 
Posts: 3452
Joined: Wed Jun 21, 2006 8:21 am

Post » Mon Jun 18, 2012 11:08 pm

Thanks for your help... but I can't anything.
User avatar
Krystal Wilson
 
Posts: 3450
Joined: Wed Jan 17, 2007 9:40 am

Post » Mon Jun 18, 2012 2:05 pm

You also may want to check to see if the "Must Complete" flag is unchecked.
User avatar
Adrian Powers
 
Posts: 3368
Joined: Fri Oct 26, 2007 4:44 pm

Post » Mon Jun 18, 2012 9:15 pm

Yeah, it's unchecked.
User avatar
Roisan Sweeney
 
Posts: 3462
Joined: Sun Aug 13, 2006 8:28 pm

Post » Tue Jun 19, 2012 1:13 am

You should add a conditional on the sleep package that makes sure she's not following. A simple way is to check if she is (not) in the CurrentFollowerFaction, eg

GetFactionRank CurrentFollowerFaction < 0

In the worst case, you should do this on any packages that you are adding that are meant for when she is not following the player. I am surprised though that the DialogueFollowerQuest packages are not overriding her default behaviour when she is following.
User avatar
Grace Francis
 
Posts: 3431
Joined: Wed Jul 19, 2006 2:51 pm

Post » Mon Jun 18, 2012 2:50 pm

If I may interject: I'm trying to assign a sleep package to Lydia but when I do, she sleeps the first night then stands in one place for hours every night afterwards despite two different beds in the house. Did you run into this problem?
User avatar
OJY
 
Posts: 3462
Joined: Wed May 30, 2007 3:11 pm


Return to V - Skyrim