They tend to fight or wander back to their posts so thus far i ve done it by simply turning off their ai.
Skyrim how to keep npcs from opening locked doors.
What i m trying to do is place random npcs around my house to make it look cooler.
Away from the door and not blocking paths.
There is a back gate to the keep and rear entrance which is master locked both situated by the forge.
At 20 1 it s only 1 or 2 seconds but when you ve got it at 1 1 they ll stand around for 20 40 seconds before they try going through a door again.
The next best thing other than a mod would be to use the lock command.
70 of the thieves guild is dead and the treasury door is wide open so mercer wouldn t be able to cling onto power.
If you stand in front of the entrance or anywhere in the pathing of the npc you disrupt their routine.
If you wait in front of a locked door for 24 hours the npc cannot open it on time because you are in the way.
Had this issue in whiterun with belethor everytime.
The level of the lock scales with the number.
Can npcs open up any locked door that they re knocked into.
There are three lean tos with unowned bedrolls near the forge and a table opposite the locked entrance with a random one handed weapon on top.
I believe that with the lock command it goes lock number 1 100 where 100 requires a key.
For the opposite effect you can set chests doors or npcs to a locked state with a number from 1 100 representing the difficulty.
It would lock the door and you could unlock it with the unlock command.
It all worked out for my roleplay.
The reason i set it to 6 is because if an npc needs to go through a door or entrance and it s being used or someone is in the way they have a small in game delay.
Works like a charm.
Kill look at the thing you want to kill open the console.
For example i ve got a fully armored thalmor girl outside my bedroom door in solitude and a few generic mercenaries in the basement.