Difference between revisions of "OnLockStateChanged - ObjectReference"
Jump to navigation
Jump to search
imported>Goggle (→Examples: Event is sent for doors locked by default as the game locks them when loading into the cell. See notes.) |
imported>Goggle m (Undo revision 6156 by Twilight Sky (talk)) |
||
Line 22: | Line 22: | ||
endEvent | endEvent | ||
</source> | </source> | ||
== See Also == | == See Also == |
Latest revision as of 06:32, 16 September 2016
Member of: ObjectReference Script
Event called when the lock on this object's state changes. (Locked, unlocked, level changed, etc)
Syntax[edit | edit source]
Event OnLockStateChanged()
Parameters[edit | edit source]
None.
Examples[edit | edit source]
Event OnLockStateChanged()
if IsLocked()
Debug.Trace("We are locked!")
endIf
endEvent