Space Engineers

Space Engineers

Isy's Light Control Script
11 Comments
erik 16 Feb, 2024 @ 12:29pm 
good evening no longer works an update maybe
Isy  [author] 28 Jan, 2022 @ 2:12am 
Sure, but for two lights, it's better to just create a group and toggle the group.. No need for a script here..
HUBERT THE ROCK 23 Jan, 2022 @ 8:40am 
does this also work for a back light of a car
Isy  [author] 24 Oct, 2019 @ 1:50am 
Gimboid 23 Oct, 2019 @ 7:54am 
Hey Isy, I love your scripts! there's one feature that would make this particular script 100x cooler, could you add the ability for arguments to change colours? for example:

- Run with Arguement RED - changes all grouped lights red
- Run with Arguement GREEN - changes all grouped lights to Green.

This would allow people to combine this with timer blocks and other scrips, for example airlock or hanger doors, where you could run the PB to turn the lights orange, then the doors open and after, turn the lights green, etc!
Jim Paper 22 Jan, 2018 @ 5:12pm 
Oh I see. I have a lesson to read carefully description sorry mate.
Isy  [author] 22 Jan, 2018 @ 5:02pm 
Yeah.. Same statement.. See my previous reply...
Jim Paper 22 Jan, 2018 @ 4:16pm 
What I meant was. If there is a day all light will turn off But on the Night Every light will turn it on
Isy  [author] 22 Jan, 2018 @ 10:09am 
That is not the purpose of this script.. If you want this functionality, try out my solar alignment script..
Jim Paper 22 Jan, 2018 @ 8:51am 
Just why. Add for this script if solar work light will be off but If it's dark light turn on?
Isy  [author] 25 Sep, 2017 @ 7:47am 
Update!
Version 1.0.1:

- added the option to blacklist light groups so that they will not be toggled
- default action without no argument is now toggle on/off