IsLocked - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 16:27, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(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[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]