Space Engineers

Space Engineers

Airlock Manager
Tallinu 4 Dec, 2015 @ 3:21pm
Can't get this script to fully function
It changes the colors of the lights I set up, but it won't ever switch the air vents' decompress mode on (and if I switch it myself it toggles it right back off again). It also leaves all doors unlocked, allowing me to accidentally blast myself out.

It sounded like it was supposed to detect when you were opening a door and not need any buttons, am I wrong about that? I didn't see any instructions on button setup...

My test setup is:

Timer block action 1: Run script with default argument. Action 2: Trigger timer now.

This part seems to be working, since if I change the color of the lights it instantly resets it to blue the moment I release the slider. (By the way, it would be nice if it wasn't absolute zero on R and G, you can't see the green dots on the airlock vents unless there's another source of lighting because they don't glow on their own...)

Airlock part names:

Front Airlock Door Outer [Airlock: N>front S>out D>60 A>60]
Front Airlock Door Inner [Airlock: N>front S>in]
Front Airlock Vent [Airlock: N>front]
Front Airlock Light Outer [Airlock: N>front]
Front Airlock Light Inner [Airlock: N>front]

There's a second basically identical airlock with parts called "Rear" and N>rear in the tags. Neither one functions properly. I initially had no D or A tags present, and tried adding them to see if that was required for the functionality I expected, but the behavior (or lack thereof) was unchanged.