Hey guys,
i found a good script in the www for the airlock hangardoor. But it is a bit older and the api changed. May someone look for it please?
Need Help. HangarScript doesn't work
i found a good script in the www for the airlock hangardoor. But it is a bit older and the api changed. May someone look for it please?
Code:
bool g_initialize = true;
IMyTimerBlock g_timer = null;
IMyAirVent g_airVent = null;
List<IMyTerminalBlock> g_doorOutside = null;
List<IMyTerminalBlock> g_doorInside = null;
List<Func<int>> g_queuedActions = new List<Func<int>>();
void Main()
{
if(g_initialize) {
var groups = GridTerminalSystem.BlockGroups;
for(int i =...