OnLockStateChanged - ObjectReference
From Creation Kit
Member of: ObjectReference Script
Event called when the lock on this object's state changes. (Locked, unlocked, level changed, etc)
Event OnLockStateChanged() if IsLocked() Debug.Trace("We are locked!") endIf endEvent
- Calling Lock() will trigger this event regardless of its previous "LockState".