Space Engineers
Оценок: 84
Isy's Light Control Script
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
1.401 KB
25 сен. 2017 г. в 6:47
14 мая. 2018 г. в 7:27
Обновлений: 4 (просмотреть)

Подпишитесь, чтобы загрузить
Isy's Light Control Script

В 1 коллекции, созданной Isy
Isy's Mini Script Series
Предметов: 7
Описание
A very basic script for toggling all lights on your base without specifying any groups. Optionally you can create whitelist or blacklist groups that can be used by the script.

Current Version:
Version: 1.0.1
Date: 2017-09-25

Main features:
  • Can toggle all lights on, off or based on the last state on/off
  • Groups to toggle only specific lights are supported
  • Blacklist support

Basic Setup:
  • set up a programmable block with the script
  • use the script in cockpits, button panels, etc.
  • no timer required
  • Note: Game has to be in experimental mode and ingame scripts have to enabled in world options!

Optional Setup:
  • run the script with one of the following commands: 'on', 'off'
  • create light groups and use them in the script to toggle only specific lights
  • create a blacklist light group that will not be toggled but all other lights will

Join my discord:

You need additional help, want to make suggestions or just want be up to date about my scripts? Join my discord server:
https://discord.gg/gY9aUUy

Wanna buy me a beer?

If you like my work, you can buy me a beer via PayPal:
http://paypal.me/derisy/1

Thanks to all my donators so far!
Комментариев: 11
erik 16 фев в 12:29 
good evening no longer works an update maybe
Isy  [создатель] 28 янв. 2022 г. в 2:12 
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 янв. 2022 г. в 8:40 
does this also work for a back light of a car
Isy  [создатель] 24 окт. 2019 г. в 1:50 
Try my "Light Color Changer" for that:

https://steamproxy.net/sharedfiles/filedetails/?id=1385882093
Gimboid 23 окт. 2019 г. в 7:54 
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 янв. 2018 г. в 17:12 
Oh I see. I have a lesson to read carefully description sorry mate.
Isy  [создатель] 22 янв. 2018 г. в 17:02 
Yeah.. Same statement.. See my previous reply...
Jim Paper 22 янв. 2018 г. в 16:16 
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  [создатель] 22 янв. 2018 г. в 10:09 
That is not the purpose of this script.. If you want this functionality, try out my solar alignment script..
Jim Paper 22 янв. 2018 г. в 8:51 
Just why. Add for this script if solar work light will be off but If it's dark light turn on?