GetLockedAlt
From GECK
| missing function origin info Further information might be found in a section of the discussion page. Please remove this message when no longer necessary. |
Description
Returns the access state of terminals, accounting for Hacked state.
Syntax
(int) ref.GetLockedAlt
Example
if SomeTerminal.GetLockedAlt == 1
Returns whether or not a door is locked but not locked out.
Return Values
0 unlocked (player has note, terminal has no lock data, terminal unlocked through script, or hacked) 1 locked 2 locked out (player failed at hacking or lock level is impossible)