Space Engineers

Space Engineers

88 个评价
Isy's Light Control Script
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.401 KB
2017 年 9 月 25 日 上午 6:47
2018 年 5 月 14 日 上午 7:27
4 项改动说明 ( 查看 )

订阅以下载
Isy's Light Control Script

在 Isy 的 1 个合集中
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
12 条留言
Sardaukar 8 月 11 日 上午 11:54 
Still broken? Is there an alternative somewhere perhaps?
erik 2024 年 2 月 16 日 下午 12:29 
good evening no longer works an update maybe
Isy  [作者] 2022 年 1 月 28 日 上午 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 2022 年 1 月 23 日 上午 8:40 
does this also work for a back light of a car
Isy  [作者] 2019 年 10 月 24 日 上午 1:50 
Gimboid 2019 年 10 月 23 日 上午 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 2018 年 1 月 22 日 下午 5:12 
Oh I see. I have a lesson to read carefully description sorry mate.
Isy  [作者] 2018 年 1 月 22 日 下午 5:02 
Yeah.. Same statement.. See my previous reply...
Jim Paper 2018 年 1 月 22 日 下午 4: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  [作者] 2018 年 1 月 22 日 上午 10:09 
That is not the purpose of this script.. If you want this functionality, try out my solar alignment script..