Space Engineers

Space Engineers

Red Alert-Condition Red Script
K4tniss  [developer] 5 Feb, 2016 @ 12:14pm
Issues
Post here if you have any issues! Known issues will be on the main page if anyone finds any issues (So far, I don't know of any!)

Known Issues:
- None so far
Last edited by K4tniss; 5 Feb, 2016 @ 12:14pm
< >
Showing 1-2 of 2 comments
RockinSince87 4 May, 2016 @ 6:27pm 
Currently having a problem with my ship. It has 263 lights. When executed it will change all lights over to red. When trying to go back it fails with the script too complex issue. It will change just about every light back but fails past light 249.

This is running the most up-to-date version of the game too btw.

Any ideas? Love the script btw.
BWJC 25 Sep, 2018 @ 1:33pm 
I believe I have completely fixed the issues with this script due to Keen changes.

In particular, the blinkLenght change, line 221 becomes:
entry += "l" + lights[i].BlinkLength.ToString("000.0");
And then there was another more challenging issue (which your echo statements helped track down) caused by a change in IMyTerminalBlock.ToString(), which now also includes the block name. This requires changing the GetBlockID function at line 245 to:
String GetBlockID(IMyTerminalBlock block) { String id = block.ToString(); int start = id.IndexOf('{')+1; int end = id.IndexOf('}'); id = id.Substring(start, end - start); return id; }

With those changes the script appears to be fully functional, although the LCD settings are innapropriate for the corner LCD's, with the text being off the LCD display.
Last edited by BWJC; 25 Sep, 2018 @ 1:37pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50