GetLocked
DescriptionEdit
The GetLocked script function gets the access state of terminals and locks.
SyntaxEdit
[TerminalRef.]GetLocked
ExamplesEdit
if TerminalRef01.GetLocked == 1
Returns whether terminal is locked but can still be hacked.
NotesEdit
- Return values:
- 0 = unlocked (player has note, successfully hacked, difficulty=unlocked, or terminal unlocked through script)
- 1 = locked but can be hacked
- 2 = locked out (player failed at hacking or lock level is impossible)
See AlsoEdit
ReferenceEdit
None provided.