Lock

From the CreationKit Wiki
Jump to navigation Jump to search

Description[edit | edit source]

Lock changes the lock level of door or container.

  • Lock or Lock 0 will lock it but NOT change the lock level.
  • Lock 1-255 will lock it AND change the lock level. The values to use are:
    • 1 = Novice
    • 25 = Apprentice
    • 50 = Adept
    • 75 = Expert
    • 100 = Master
    • 255 = Requires Key

Syntax[edit | edit source]

[DoorRef.]Lock Level

Example[edit | edit source]

Door01.Lock 75     ;Locks the door, setting its lock level to Expert.

See Also[edit | edit source]

Papyrus Version[edit | edit source]