GetLockLevel - ObjectReference
Revision as of 00:13, 15 February 2012 by imported>Catwheezle (Added "see also" section items.)
Member of: ObjectReference Script
Returns the level of the lock attached to this object. If there is no lock, it will return 0 - very easy.
Syntax
int Function GetLockLevel() native
Parameters
None.
Return Value
The level of the lock attached to this object.
Examples
; Is the lock very easy?
if (WeakChestProperty.GetLockLevel() == 0)
Debug.Trace("Lock is very easy")
endIf
See Also
- Locking and Unlocking Doors tutorial.
- IsLocked - ObjectReference
- Lock - ObjectReference
- LockDoors (Procedure)
- SetLockLevel - ObjectReference
- UnlockDoors (Procedure)
- UnlockOwnedDoorsInCell - Actor
- GetLocked console command.
- GetLockLevel console command.
- Lock console command.
- Unlock console command.