OnLockStateChanged - ObjectReference
Revision as of 21:54, 21 November 2012 by imported>Antares (added info on behaviour of this event)
Member of: ObjectReference Script
Event called when the lock on this object's state changes. (Locked, unlocked, level changed, etc)
SyntaxEdit
Event OnLockStateChanged()
ParametersEdit
None.
ExamplesEdit
Event OnLockStateChanged()
if IsLocked()
Debug.Trace("We are locked!")
endIf
endEvent
NotesEdit
- Calling Lock() will trigger this event regardless of its previous "LockState".