IsLockBroken - ObjectReference

Revision as of 15:42, 2 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Returns whether the lock on this object was broken (or false if there is no lock). == Sy...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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