Darios81 Posted August 24, 2012 Share Posted August 24, 2012 Is there a way to make auto close doors after a certain time? For example after 3 minutes real time. Link to comment Share on other sites More sharing options...
Ghaunadaur Posted August 24, 2012 Share Posted August 24, 2012 This script, attached to the door, should work Scriptname AutoCloseDoor extends ObjectReference Event OnInit() SetOpen(false) ;when script starts, the door gets closed EndEvent Event OnActivate(ObjectReference akActionRef) int openstate = self.GetOpenState() if(openstate == 1 || openstate == 2) ;door is open or opening utility.wait(180) ;wait 3 minutes SetOpen(false) ;close door endif EndEvent Link to comment Share on other sites More sharing options...
Darios81 Posted August 24, 2012 Author Share Posted August 24, 2012 Ah yes, a script, I expected that. Thanks for you quick replay and it works! Link to comment Share on other sites More sharing options...
Lusifer30 Posted January 3, 2013 Share Posted January 3, 2013 hmm Link to comment Share on other sites More sharing options...
Ghaunadaur Posted January 3, 2013 Share Posted January 3, 2013 hmm Hmm? Link to comment Share on other sites More sharing options...
Lusifer30 Posted January 4, 2013 Share Posted January 4, 2013 i could say it before i tried With my Luck, never get anything to work on 1 try. tried for a coup of houres. this is what i did. saved game in another cell than script door are. whent in cell view opend byohhlakeviewmanor chose edit on any door and clicket on scripts. added New script. copyed all text from above from top to bottom With Scriptname... and without also once. and the F door still not closeing :/ Link to comment Share on other sites More sharing options...
Ghaunadaur Posted January 4, 2013 Share Posted January 4, 2013 You're not making many words, eh? That's cool, but it's hard to understand what you are actually trying to do. Just to clarify: this script is not for locking a teleport door, it's for a door within an interior cell to get visually closed. :armscrossed: Link to comment Share on other sites More sharing options...
Lusifer30 Posted January 4, 2013 Share Posted January 4, 2013 You're not making many words, eh? That's cool, but it's hard to understand what you are actually trying to do. Just to clarify: this script is not for locking a teleport door, it's for a door within an interior cell to get visually closed. :armscrossed: sorry was hyper and tierd of fail :P 1. from cell view i choosing Lake View Manor Heartfire house.2. Edit on all the doors interior ofcource. the last thing you can choose is scripts, same place where you csn lock the door add key etc3. choose New Script and add your older input of script above.4. load a save away from added scripts on door and travel to it and test. right ?? not working :( Link to comment Share on other sites More sharing options...
Recommended Posts