SetLockLevel - ObjectReference: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
m (Standardize Formatting)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetLockLevel(int aiLockLevel) native
Function SetLockLevel(int aiLockLevel) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 23: Line 23:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Set the lock to very easy
; Set the lock to very easy
WeakChestProperty.SetLockLevel(0)
WeakChestProperty.SetLockLevel(0)
Line 29: Line 29:
; Set the lock to needs key
; Set the lock to needs key
WeakChestProperty.SetLockLevel(255)
WeakChestProperty.SetLockLevel(255)
</source>
</syntaxhighlight>


== See Also ==
== See Also ==

Navigation menu