SGTbayk47 Posted July 25, 2016 Share Posted July 25, 2016 Hey everyone, I'm wondering if there is a way to check if a terminal has been locked permanently or if a lock has been broken, and make part of script run when that happens. It would preferably only involve vanilla scripting, so I don't have to add NVSE as a requirement for one tiny part of the mod. If anyone knows how/if this can be done it'd be appreciated. Cheers, BayK. Link to comment Share on other sites More sharing options...
Ladez Posted July 25, 2016 Share Posted July 25, 2016 Look at the lock functions on GECK Wiki. These should cover all your use cases and are all vanilla functions. Link to comment Share on other sites More sharing options...
madmongo Posted July 25, 2016 Share Posted July 25, 2016 Use the GetLocked function. It's a standard GECK function and does not require NVSE. if MyTerminalRef.GetLocked == 0 ; unlockedif MyTerminalRef.GetLocked == 1 ; locked, but not locked outif MyTerminalRef.GetLocked == 2 ; locked out Link to comment Share on other sites More sharing options...
Recommended Posts