Lock
Revision as of 17:31, 1 December 2011 by imported>Scornett (→Syntax)
Description
Lock changes the lock level of door or container.
- Lock or Lock 0 will lock it but NOT change the lock level.
- Lock 1-255 will lock it AND change the lock level. The values to use are:
- 1 = Novice
- 25 = Apprentice
- 50 = Adept
- 75 = Expert
- 100 = Master
- 255 = Requires Key
Syntax
[DoorRef.]Lock Level
Example
Door01.Lock 75 ;Locks the door, setting its lock level to Expert.