If I lock a door , do NPC be able to pass throught?

Post » Thu Jun 21, 2012 9:30 am

If I lock a door , npcs that have a package se to go act outside of the door and inside of the door space , woudl they need a special key ? a special package or the engine is smart enough to make them pass throught the two areas without needing one? I talk of a door teleport btw not a normal door that opens and close physically ... .
User avatar
Amanda Furtado
 
Posts: 3454
Joined: Fri Dec 15, 2006 4:22 pm

Post » Thu Jun 21, 2012 10:23 pm

No idea, but this seem really easy to test. Just use the CoC command to enter an area only accessible by a locked door with a follower in following mode. If it didn't work you don't need to check for teleporting doors. If it does, you could place a lock in Whiterun door and do the same.
User avatar
Strawberry
 
Posts: 3446
Joined: Thu Jul 05, 2007 11:08 am

Post » Thu Jun 21, 2012 6:50 am

If the NPC has a key and "inaccessible" is not ticked then yes, the NPC can go through
User avatar
xemmybx
 
Posts: 3372
Joined: Thu Jun 22, 2006 2:01 pm

Post » Thu Jun 21, 2012 3:39 pm

I made an alias and I added this script to the door is this correct?

Scriptname Issgardseadragondoorlock	 extends ReferenceAlias     Quest Property Erilarquest  Auto  Event OnActivate(ObjectReference akActionRef) if (Erilarquest.IsObjectiveCompleted(30))akActionRef.Lock()endif  Debug.Trace("unlocked" + akActionRef)EndEvent


?
User avatar
CxvIII
 
Posts: 3329
Joined: Wed Sep 06, 2006 10:35 pm


Return to V - Skyrim