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
CK Wiki - Notes
- As with SetLockLevel in Skyrim, in Fallout, you can't specify the key if you choose 255 as the lock level.
Parameters
intaiLockLevel
Examples
; Set the lock to very easy
WeakChestProperty.SetLockLevel(25)Auto-Generated Example
int myInt__aiLockLevel
myObjectReference__toCallFunctionOn.SetLockLevel(myInt__aiLockLevel)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
