- Found in:
- Vanilla
eventOnLockStateChanged()
Description
Wiki Description
Event called when the lock on this object's state changes. (Locked, unlocked, level changed, etc)
Documentation Comment
Event received when the lock on this object changes
Examples
Event OnLockStateChanged()
if IsLocked()
Debug.Trace("We are locked!")
endIf
endEventAuto-Generated Example
Scriptname MyCoolScript extends ObjectReference
event OnLockStateChanged()
Debug.trace("Event received - OnLockStateChanged")
endEvent