SetLockLevel - ObjectReference
Revision as of 11:03, 20 November 2015 by imported>Plplecuyer (→Examples)
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) nativeParameters
aiLockLevel: The level to set the lock at.
- 0 = Unlocked
- 25 = Novice
- 50 = Advanced
- 75 = Expert
- 100 = Master
- 251 = Barred
- 252 = Chained
- 253 = Terminal Only
- 254 = Inaccessible
- 255 = Requires Key
Return Value
None.
Examples
; Set the lock to very easy
WeakChestProperty.SetLockLevel(25)