Difference between revisions of "Lock"

234 bytes added ,  15:58, 28 March 2006
no edit summary
imported>Bnesmith
 
imported>Bnesmith
Line 7: Line 7:
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.  
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.
Although you can enter any value for the locklevel, there are specific values that are associated with each lock level. Each has a game setting that controls the associated value.


{|border="1" cellpadding="5" cellspacing="0"
{|border="1" cellpadding="5" cellspacing="0"
Line 13: Line 13:
! style="background:#efefef;" colspan=1  | Lock Level
! style="background:#efefef;" colspan=1  | Lock Level
! style="background:#efefef;" | Value
! style="background:#efefef;" | Value
! style="background:#efefef;" | Game Setting
|-
|-
|Very Easy
|Very Easy
|7
|7
|[[iLockLevelMaxVeryEasy]]
|-
|-
|Easy
|Easy
|20
|20
||[[iLockLevelMaxEasy]]
|-
|-
|Average
|Average
|40
|40
|[[iLockLevelMaxAverage]]
|-
|-
|Hard
|Hard
|80
|80
|[[iLockLevelMaxHard]]
|-
|-
|Very Hard
|Very Hard
|99
|99
|[[iLockLevelMaxVeryHard]]
|-
|-
|Needs a key
|Needs a key
|100
|100
|
|-
|-
|}
|}
Anonymous user