SetLockLevel - ObjectReference

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets the level of the lock attached to this object. If there is no lock, it will attach one, but leave it unlocked.

Syntax

Function SetLockLevel(int aiLockLevel) native

Parameters

  • aiLockLevel: The level to set the lock at.

Return Value

None.

Examples

; Set the lock to very easy
WeakChestProperty.SetLockLevel(0)

See Also