hi there,
i'm trying to make a system that could discover what is in the grid tu use it afterward (in form of lists)
i'v came with the following
auto-sorting block by type
i'm trying to make a system that could discover what is in the grid tu use it afterward (in form of lists)
i'v came with the following
Code:
void main()
{
//variable declaration
int i;
List<IMyTerminalBlock> blocks = new List<IMyTerminalBlock>();
List<IMyTextPanel> panels = new List<IMyTextPanel>();
List<IMyReactor> reactors = new List<IMyReactor>();
List<IMySolarPanel> solPanels = new List<IMySolarPanel>();
List<IMyBatteryBlock> batteries = new...