rhcm123 Posted September 13, 2009 Share Posted September 13, 2009 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 More sharing options...
gsmanners Posted September 14, 2009 Share Posted September 14, 2009 Easily solved: http://geck.bethsoft.com/index.php/Useful_...utoclosing_door Link to comment Share on other sites More sharing options...
Recommended Posts