GetLocked
Revision as of 12:50, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
Description
The GetLocked script function gets the access state of terminals and locks.
Syntax
[TerminalRef.]GetLocked
Examples
if TerminalRef01.GetLocked == 1
Returns whether terminal is locked but can still be hacked.
Notes
- 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 Also
Reference
None provided.