Space Engineers

Space Engineers

Zbyt mało ocen
Automaticly Close Doors
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
487.000 B
16 grudnia 2015 o 16:56
30 grudnia 2015 o 7:15
Listy zmian: 2 ( zobacz )

Zasubskrybuj, aby pobrać
Automaticly Close Doors

Opis
Simple Script that will automaticly close doors by default it will close them after 3 seconds, you can change this by changing this line and setting the number 3 to whatever you like

doorStatus[door] = 3;

if you would like the script to ingore a certian door just add the "[M]" tag in to the name of the door.

For this script to work you must have a timer block setup to run the programable block evey second

~Stuart
Komentarzy: 8
Cypress 31 sierpnia 2016 o 20:12 
The simple things make all the difference. Thanks for the script!
NetAgent 30 kwietnia 2016 o 3:09 
Works, thanks!
bigbadvoodoodady_1 23 stycznia 2016 o 0:34 
It's a timer script not an auto door script... man, does anyone have an auto-door script whereby the door shuts when the user leaves sensor range? (everyone and there mother made one of these adolescent scripts)
Pecs 30 grudnia 2015 o 11:15 
Thanks mate :D Good work too!
Stuart  [autor] 30 grudnia 2015 o 7:16 
I've updated the script so any door with the tag "[M]" in it the script will ingore, I've also fixed the issue with it closing hangar doors before they fully open

~Stuart
Pecs 29 grudnia 2015 o 15:16 
How would I exclude a type of door. I'm having a problem with the hangar doors.
Stuart  [autor] 17 grudnia 2015 o 13:35 
Could do that as well, but I tend to go down the programing route if I can, With a timer block you could have issues that it will be triggered as soon as you open a door there for closing straight away
FPC 17 grudnia 2015 o 10:56 
Why not just make a group called doors, set the timer block to close the group and trigger itself, and then set the timer to 3 seconds?

I usually have a timer close all doors every 60seconds.