IsLocked - ObjectReference

From the CreationKit Wiki
Revision as of 00:13, 15 February 2012 by imported>Catwheezle (Added "see also" section items.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Checks to see if this object is currently locked. If no lock is attached, returns false.

Syntax

bool Function IsLocked() native

Parameters

None.

Return Value

If this object is currently locked.

Examples

; Is the door locked?
if (SecurityDoorProperty.IsLocked())
  Debug.Trace("The door is locked")
endIf

See Also