OnLockStateChanged - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 06:32, 16 September 2016 by imported>Goggle (Undo revision 6156 by Twilight Sky (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Event called when the lock on this object's state changes. (Locked, unlocked, level changed, etc)

Syntax

Event OnLockStateChanged()

Parameters

None.

Examples

Event OnLockStateChanged()
  if IsLocked()
    Debug.Trace("We are locked!")
  endIf
endEvent

See Also