Lock

From the CreationKit Wiki
Revision as of 00:12, 15 February 2012 by imported>Catwheezle (Added "see also" section items.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

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

[DoorRef.]Lock Level

Example

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

See Also

Papyrus Version