Automatically shuts oDoor1 after an set amount of time. If oDoor1 is
connected to oDoor2 via a transition, it will close oDoor2 at the same time.
By default, doors close after 30 seconds, however you can override this by
setting a local float variable on the door called AUTO_SHUT_DELAY.
If AUTO_SHUT_DELAY equals -1.0, the door will never auto close.
Just save this script and call it from the door's OnOpen event.
Posted by SorceressAshura at 2007-02-14 11:39:31 Voted 6.50 on 02/14/07
A very useful script indeed, works wonderfully in my modules. I'm voting a 6 because while it is not a unique script. It has a very good, solid, and reliable code. I would recommend it to any builder who needs this function for doors. _________________________ AKA: GuardianofLore.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone