Quote:
void main()
{
DelayCommand(12.0, ActionCloseDoor(OBJECT_SELF));
DelayCommand(12.5, ActionLockObject(OBJECT_SELF));
}
|
Paste this script in a door's OnOpen script slot and it will close and lock itself 12.5 seconds after being opened.
[ 01-25-2003, 04:15 AM: Message edited by: Chewbacca ]