GetLockedAlt

From GECK
Jump to: navigation, search


A function added by the ButcherPete FOSE Plugin for Fallout 3..

Description

Returns the access state of terminals, accounting for Hacked state.

Syntax

[help]
(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) 

See Also