Jump to content

How to prevent NPC's to use doors


thousande

Recommended Posts

Hi

 

I am trying to implement some doors that NPC's should not walk inn to or out from.

 

I have tried various things without any success yet. Having a lock or ownership on the door does not help, I have also tried using a sandbox package with UseOnlyOwnedRef together with ownership configuration on the door ref. The NPC's seems to use the doors anyways. Right now I am trying to set the location radius with a low value.

 

I guess some scripting is an option, but are there more obvious way to make them stay in the given room?

 

 

Link to comment
Share on other sites

Depending on what you want, there is at least one other way.

 

In my mod I had struggle with the problem, that friendly npcs start to attack raiders. So, I disabled the npcs until the played moved over a triggerbox (which are behind the enemies). On this way I was able to prevent them from doing that. I am not sure if that is a help for what you trying to do.

 

I think that is a fine way, as long as we talk about npcs that just have one time where something important is with them (like npcs that need to be rescued as example).

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...