Jump to content

Quick question about a script.


rhcm123

Recommended Posts

I am writing the script of a terminal to unlock/lock a door.

The script goes as such:

ref object
set object to getLinkedRef
object.unlock
object.SetOpenState 1
ForceTerminalBack

 

the lock code is the inverse, logically.

my question is simple - after the last command, i want the script to pause for 30 seconds, then continue (this will give the player enough time to go through the door, then i can relock it). i tried the linux commands sleep and wait, got nowhere, and i can't find it in the help file.

 

also, i need to relock the terminal afterwards (so the player can not return without rehacking). what's the command to reset the object to it's original state?

 

thanks, rhcm123 (aka ussr)

Link to comment
Share on other sites

  • Recently Browsing   0 members

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