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

Description

Wiki Description

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

Documentation Comment

Is the lock on this object locked?


Caveats


Examples

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

Auto-Generated Example

bool returnedValue = myObjectReference__toCallFunctionOn.IsLocked()

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.