Description
Wiki Description
Checks to see if this object is currently locked. If no lock is attached, returns false.
Documentation Comment
Is the lock on this object locked?
Caveats
Examples
; Is the door locked?
if (SecurityDoorProperty.IsLocked())
Debug.Trace("The door is locked")
endIfAuto-Generated Example
bool returnedValue = myObjectReference__toCallFunctionOn.IsLocked()Related Pages
- Locking and Unlocking Doors tutorial.
- ObjectReference.GetLockLevel()
- ObjectReference.Lock(...)
- LockDoors (Procedure)
- ObjectReference.SetLockLevel(...)
- UnlockDoors (Procedure)
- Actor.UnLockOwnedDoorsInCell()
- GetLocked console command.
- GetLockLevel console command.
- Lock console command.
- Unlock console command.
