Difference between revisions of "LockDoors (Procedure)"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Catwheezle
(Added "see also" section items.)
imported>Catwheezle
(Added "see also" section items.)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:


|SeeAlso=
|SeeAlso=
*[[Locking and Unlocking Doors]]
*[[Locking and Unlocking Doors]] tutorial.
*[[UnLockDoors (Procedure)]]
 
*[[GetLockLevel - ObjectReference]]
*[[IsLocked - ObjectReference]]
*[[Lock - ObjectReference]]
*[[SetLockLevel - ObjectReference]]
*[[UnlockDoors (Procedure)]]
*[[UnlockOwnedDoorsInCell - Actor]]
 
*[[GetLocked]] console command.
*[[GetLockLevel]] console command.
*[[Lock]] console command.
*[[Unlock]] console command.
}}
}}

Latest revision as of 00:14, 15 February 2012

Behavior

Description:
Actor locks doors he owns in the location. (Happens "magically" - he does not path to the doors.)

The procedure completes:
When the doors are locked.

Parameters

  • Location (Location): Location with doors to lock.
  • WarnBeforeLocking (Bool): If true, will warn the player to leave before locking the doors.

                                   

Notes

  • See also Locking and Unlocking Doors for how NPCs handle this automatically.
  • In previous games, this was a flag on packages, it is now a discreet procedure.
  • Usually found in a package after running a Travel procedure to get them to the location - often used in packages of citizens to make sure they lock their doors at night.

See Also