Hello everyone,
noob question here. I'm basically programming my own airlock script and want to check if the exterior airlock door is open. But I've got no clue how I can actually check that property. My idea was something like this:
That doesn't compile, but how do I call on the "Open" property of the Doors?
I've...
How do I compare a block property/how do I find it?
noob question here. I'm basically programming my own airlock script and want to check if the exterior airlock door is open. But I've got no clue how I can actually check that property. My idea was something like this:
Code:
IMyTerminalBlock ExteriorAirlockDoor1 = GridTerminalSystem.GetBlockWithName("Exterior Airlock Door 1");
if(ExteriorAirlockDoor1.Open==true)
{
//do stuff
}
I've...
How do I compare a block property/how do I find it?