Jump to content

Recommended Posts

Posted

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.

Posted

Use the GetLocked function. It's a standard GECK function and does not require NVSE.

 

if MyTerminalRef.GetLocked == 0 ; unlocked

if MyTerminalRef.GetLocked == 1 ; locked, but not locked out

if MyTerminalRef.GetLocked == 2 ; locked out

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...