Lock

From the Oblivion ConstructionSet Wiki
Revision as of 10:33, 14 March 2006 by imported>Bnesmith
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

Lock lockLevel lockAsOwner (optional) 

Example:

Lock 30 
Lock 75 1 

Locks the door or container with the specified lock level. If you use the optional LockAsOwner flag, the door will be treated as if the owner locked it, for purposes of the AI determining whether entering the cell behind the door is treated as trespassing or not. With LockAsOwner = 0, whether the cell is treated as public or private is unaffected.

Although you can enter any value for the locklevel, there are specific values that are associated with each lock level.

Lock Level Value
Very Easy 7
Easy 20
Average 40
Hard 80
Very Hard 99
Needs a key 100