antstubell Posted October 7, 2012 Share Posted October 7, 2012 Hi all.Can anybody help me with a script for making doors close automatically after they've been open for about 3 seconds or so? The door I have in mind is a secret entrance and I don't want it left open after player has activated it. Thanks. Link to comment Share on other sites More sharing options...
Ghaunadaur Posted October 7, 2012 Share Posted October 7, 2012 Hello. Put this on the door, it should work: Scriptname CloseDoor extends ObjectReference Event OnOpen(ObjectReference akActionRef) utility.wait(3) setopen(false) EndEvent Link to comment Share on other sites More sharing options...
antstubell Posted October 7, 2012 Author Share Posted October 7, 2012 Hello. Put this on the door, it should work: Scriptname CloseDoor extends ObjectReference Event OnOpen(ObjectReference akActionRef) utility.wait(3) setopen(false) EndEventSorry to say no joy. Watch... http://www.youtube.com/watch?v=IGOPIlGZZws Link to comment Share on other sites More sharing options...
Recommended Posts