Mod:Creation Kit/IsLockBroken - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Returns whether the lock on this object was broken (or false if there is no lock).

Syntax
bool Function IsLockBroken native

Parameters
None.

Return Value
If the lock is broken (or false if no lock).

Examples
if (SecurityDoorProperty.IsLockBroken) Debug.Trace("Someone broke the lock...") endIf
 * Is the door locked?