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

Need Help. HangarScript doesn't work

$
0
0
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?

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 =...
Need Help. HangarScript doesn't work

Viewing all articles
Browse latest Browse all 645

Latest Images

Trending Articles



Latest Images