antstubell Posted September 27, 2012 Share Posted September 27, 2012 I'm trying to figure out how to make NPCs lock doors. I have 2 NPCs in a faction called ludoFACT. They are both in ludoLockList. They eat and sleep in the same house, LudoHouse. When they go inside to eat the Eat package is checked TRUE for unlock doors. When I enter they tell me to get out or...well they try to kill me. I have their Sleep package TRUE lock doors but I can still pass through the door as its never locked. Ludo owns the house and Ludo owns the door on the interior cell. I've noticed with in game NPCs that they have a key to their respective houses, do I need to make a key for Ludo and friend? Do I then lock the door and check "Requires Key" to open it? I want them only to lock doors when their Sleep packages come into effect, whilst they are outside working in the daytime I want the door open. I've read the Wiki and as usually its very sketchy and no tutorials on how to do this. What am I missing here?Thanks. Link to comment Share on other sites More sharing options...
steve40 Posted September 28, 2012 Share Posted September 28, 2012 I'm just starting to investigate how packages work, so I'm as in the dark as you. There's a package, which, off the top of my head, is called something like "SandboxLockDoors" or maybe "DefaultSandboxLockDoors" or something like that. Both the Travel and Lock Doors procedures in this package have a condition on them. I forget the exact syntax, but it is something like "bLockDoors = True". Maybe that is what you're missing. Check out that package anyway, it is the one that makes actors go home and lock up. Link to comment Share on other sites More sharing options...
Recommended Posts