IsLockBroken - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

bool Function IsLockBroken() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit