GetLockLevel
From GECK
A function included in the GECK for Fallout 3.
Description
Returns the lock level of a Terminal or a Lock (Doors or Containers).
Syntax
(int) ref.GetLockLevel
Example
if TerminalRef01.GetLockLevel < 5
Example
if ContainerRef01.GetLockLevel < 25
Lock Levels
- Return values for a lock (door or container):
0 very easy 25 easy 50 average 75 hard 100 very hard 255 impossible
- Return values for a terminal:
0 very easy 1 easy 2 average 3 hard 4 very hard 5 impossible
Notes
- Lock level represents lockpicking/hacking difficulty only and should not be used to determine access state. GetLocked can be used to determine that.
- If the terminal is leveled, the value you get will be the leveled value. (same as locks)