Background for Fallout 4
Member of the ObjectReference script
boolfunctionIsLockBroken()Native

Description

Wiki Description

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

Documentation Comment

Is the lock on this object broken?


Caveats


Examples

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

Auto-Generated Example

bool returnedValue = myObjectReference__toCallFunctionOn.IsLockBroken()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.