Description
Wiki Description
Sets the level of the lock attached to this object. If there is no lock, it will attach one, but leave it unlocked.
Documentation Comment
Sets the lock level on this object. Will add an unlocked lock to it if it doesn't have one
Caveats
Parameters
intaiLockLevel
CK Wiki Description
The level to set the lock at.
- 1 = Novice
- 25 = Apprentice
- 50 = Adept
- 75 = Expert
- 100 = Master
- 255 = Requires Key
Examples
; Set the lock to very easy
WeakChestProperty.SetLockLevel(0)
; Set the lock to needs key
WeakChestProperty.SetLockLevel(255)Auto-Generated Example
int myInt__aiLockLevel
myObjectReference__toCallFunctionOn.SetLockLevel(myInt__aiLockLevel)Related Pages
- Locking and Unlocking Doors tutorial.
- ObjectReference.GetLockLevel()
- ObjectReference.IsLocked()
- ObjectReference.Lock(...)
- LockDoors (Procedure)
- UnlockDoors (Procedure)
- Actor.UnLockOwnedDoorsInCell()
- GetLocked console command.
- GetLockLevel console command.
- Lock console command.
- Unlock console command.
