shubcthulhu Posted January 15, 2014 Share Posted January 15, 2014 So I have my guard patrolling around the interior of my Inn keeping the piece from 9am - 8pm, but after that he just stands around like a statue doing nothing (unless I commit a crime). What I want is for him to leave the Inn and walk to the barracks, sit down at his desk to do his paperwork and then go to bed but I can't work out how to do it. I tried adding an AI package that told him to sleep at a certain time and aimed him at one of the beds in the barracks but he just ignores it. Any help would be appreciated Link to comment Share on other sites More sharing options...
shubcthulhu Posted January 16, 2014 Author Share Posted January 16, 2014 bump Link to comment Share on other sites More sharing options...
mrpdean Posted January 16, 2014 Share Posted January 16, 2014 It could be a lot of thing: Order of the ai packagesNavmesh problemsDoor marker problems connecting cellsBed ownershipEtc As your patrol package is working i'd take that out of the equation by removing the patrol package and seeing if he sleeps then? When you say "he just ignores it" does he keep patrolling, or just walk to the bed and stand there, or just stand in place without even trying to get to the bed etc? Link to comment Share on other sites More sharing options...
shubcthulhu Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) he just stands still. When the time comes for him to stop patrolling he no longer moves at all until it is time to patrol again or I commit a crime my follower will happily follow me up to and inside the barracks and around the beds so I doubt it is a navmesh issue but i shall take another look at it just to make sure Edited January 16, 2014 by shubcthulhu Link to comment Share on other sites More sharing options...
mrpdean Posted January 20, 2014 Share Posted January 20, 2014 Sorry, I've been AFK for a few days. It's difficult to determine the cause without seeing the setup but you could: 1. Check the ownership of the bed. The NPC probably won't use the bed if it's owned by another faction2. Check your sleep package again. Specifically, check that you've set both the sleep location and the search criteria.3. Make sure your schedule is set up right on your packages. Remember that packages are evaluated from top to bottom. I'd make the patrol package always running e.g. leave all the schedule fields set to 'any' and the duration to 24 hours.Then with your sleep package, make sure it's at the top of the list and set the schedule to whenever you want them to sleep. Also, make sure the 'AllowSleeping' flag is set to True on your sleep package, which it should be if you used one of the existing sleep package templates. Link to comment Share on other sites More sharing options...
Recommended Posts