OnLock

From NWN Lexicon

Contents

[edit] OnLock

The script attached to this event fires when when an object has been locked.


[edit] Trigger

The door or placeable object has been locked by another object.


[edit] Function(s)

GetLockLockDC() returns the DC to use the Open Lock skill to open the lock.


[edit] Remarks

Only placeables that can be opened can be locked or unlocked.


[edit] Known Bugs

OnLock and OnUnLock didn't use to work. As of patch version 1.29 (or probably 1.28), the events fire as they should.


[edit] See Also

functions: 

GetLockLockDC()


Personal tools
Categories