GetLocked

From the Fallout3 GECK Wiki
Jump to navigation Jump to search

Description[edit | edit source]

The GetLocked script function gets the access state of terminals and locks.

Syntax[edit | edit source]

[TerminalRef.]GetLocked

Examples[edit | edit source]

if TerminalRef01.GetLocked == 1

Returns whether terminal is locked but can still be hacked.

Notes[edit | edit source]

  • 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[edit | edit source]

GetLockLevel
Lock
Unlock

Reference[edit | edit source]

None provided.