IsLocked - ObjectReference
Member of: ObjectReference Script
Checks to see if this object is currently locked. If no lock is attached, returns false.
SyntaxEdit
bool Function IsLocked() native
ParametersEdit
None.
Return ValueEdit
If this object is currently locked.
ExamplesEdit
; Is the door locked?
if (SecurityDoorProperty.IsLocked())
Debug.Trace("The door is locked")
endIf
See AlsoEdit
- Locking and Unlocking Doors tutorial.
- GetLockLevel - ObjectReference
- Lock - ObjectReference
- LockDoors (Procedure)
- SetLockLevel - ObjectReference
- UnlockDoors (Procedure)
- UnlockOwnedDoorsInCell - Actor
- GetLocked console command.
- GetLockLevel console command.
- Lock console command.
- Unlock console command.