Difference between revisions of "GetLockLevel"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Pintocat
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:


=='''Examples'''==
=='''Examples'''==
 
<pre>
  if TerminalRef01.GetLockLevel < 50
  if TerminalRef01.GetLockLevel < 5
Returns true if locker's lock level is easier than Normal.
</pre>
<pre>
if ContainerRef01.GetLockLevel < 25
</pre>


=='''Notes'''==
=='''Notes'''==
Line 43: Line 46:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Lock_Functions]]
[[Category:Lock_Functions]]
[[Category:Lock_Functions (GECK 1.0)]]
[[Category:Lock_Functions (GECK 1.1)]]
[[Category:Miscellaneous Functions]]
[[Category:Miscellaneous Functions]]
[[Category:Miscellaneous Functions (GECK 1.0)]]
[[Category:Miscellaneous Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.0)]]
[[Category:Condition Functions (GECK 1.1)]]

Latest revision as of 04:19, 20 January 2017

Description[edit | edit source]

The GetLockLevel script function gets the lock level of a terminal or lock.

Syntax[edit | edit source]

[TerminalRef.]GetLockLevel

Examples[edit | edit source]

 if TerminalRef01.GetLockLevel < 5
 if ContainerRef01.GetLockLevel < 25

Notes[edit | edit source]

  • Return values for a lock:
    • 0 = very easy
    • 25 = easy
    • 50 = average
    • 75 = hard
    • 100 = very hard
    • 255 = impossible
  • Lock level represents hacking difficulty only and should not be used to determine access state.
  • Return values for a terminal:
    • 0 = very easy
    • 1 = easy
    • 2 = average
    • 3 = hard
    • 4 = very hard
    • 5 = impossible
  • If the terminal is leveled, the value you get will be the leveled value. (same as locks)

See Also[edit | edit source]

GetLocked
Lock
Unlock

Reference[edit | edit source]

None provided.