LockDoors (Procedure)

From the CreationKit Wiki
Jump to navigation Jump to search

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