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

Someone explain this

$
0
0
Can someone explain why this code doesn't function:

Code:
public Program() {
    AirlockState = true;
    GridTerminalSystem.GetBlockGroupWithName("Airlock Vents").GetBlocks(Vents);
    GridTerminalSystem.GetBlockGroupWithName("Airlock In").GetBlocks(InnerDoors);
    GridTerminalSystem.GetBlockGroupWithName("Airlock Out").GetBlocks(OuterDoors);
} 
Because for some reason those three groups (vents,innerdoors,outerdoors) are always null. And yes the group names are the same, and yes...

Someone explain this

Viewing all articles
Browse latest Browse all 645

Trending Articles