Difference between revisions of "IsLocked - ObjectReference"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>Catwheezle (Added "see also" section items.) |
||
Line 26: | Line 26: | ||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] | ||
*[[Locking and Unlocking Doors]] tutorial. | |||
*[[GetLockLevel - ObjectReference]] | |||
*[[Lock - ObjectReference]] | *[[Lock - ObjectReference]] | ||
*[[LockDoors (Procedure)]] | |||
*[[SetLockLevel - ObjectReference]] | |||
*[[UnlockDoors (Procedure)]] | |||
*[[UnlockOwnedDoorsInCell - Actor]] | |||
*[[GetLocked]] console command. | |||
*[[GetLockLevel]] console command. | |||
*[[Lock]] console command. | |||
*[[Unlock]] console command. |
Latest revision as of 00:13, 15 February 2012
Member of: ObjectReference Script
Checks to see if this object is currently locked. If no lock is attached, returns false.
Syntax[edit | edit source]
bool Function IsLocked() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
If this object is currently locked.
Examples[edit | edit source]
; Is the door locked?
if (SecurityDoorProperty.IsLocked())
Debug.Trace("The door is locked")
endIf
See Also[edit | edit source]
- 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.