Difference between revisions of "OnLockStateChanged - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
(Created page with 'Category:Scripting Category:Papyrus Category:Events '''Member of:''' ObjectReference Script Event called when the lock on this object's state changes. (Locked, u…')
(No difference)

Revision as of 18:12, 23 August 2010

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