Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Help needed to update simple script

$
0
0
Hello fellow Space Engineers,

I had a very rudimentary but working script that allowed me to change the color of a group of lights for a airlock from green to red or red to green depending on the status of the airlock. I know there are scripts out there for it but I just wanted something simple for it. Now with the update and the change to the Mod API, the code doesn't work any more and throws an error. Here is the code:
Code:
string Group1 = "Starboard Exterior Lights";
string Group2 =...
Help needed to update simple script

Viewing all articles
Browse latest Browse all 645