Difference between revisions of "Lock"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett
 
imported>Catwheezle
(Added "see also" section items.)
 
Line 17: Line 17:


==See Also==
==See Also==
[[GetLocked]]<br>
*[[GetLocked]] console command.
[[GetLockLevel]]<br>
*[[GetLockLevel]] console command.
[[Unlock]]
*[[Unlock]] console command.


==Papyrus Version==
==Papyrus Version==
[[SetLockLevel - ObjectReference]]<br/>
*[[Locking and Unlocking Doors]] tutorial.
[[Lock - ObjectReference]]
*[[Lock - ObjectReference]]
 


[[Category:Console Commands]]
[[Category:Console Commands]]

Latest revision as of 00:12, 15 February 2012

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]