Hello,
I have a script which (eventually) will control airlocks on my ships and stations, but I have come across a problem. As the title suggest, I want to close the doors and then when they are closed, lock them until (de)pressurization have been completed.
Closing door then turning it off
I have a script which (eventually) will control airlocks on my ships and stations, but I have come across a problem. As the title suggest, I want to close the doors and then when they are closed, lock them until (de)pressurization have been completed.
Code:
void Main(string argument)
{
string[] keywords = argument.Split(' ');
switch (keywords[0])
{
case "Depressurize" :
if (keywords[1] == "Begin")
{...