Ingame Scripting Error

Rochus Jung shared this bug 3 years ago
Reported

Hallo KSH,


Ich schreibe jetzt ein Room Control Ingame-Skript. Ich codiere mit Visual Studio MDK.

Wenn ich eine öffentliche Struktur erstelle, gibt Space Engieers Blocks wie IMyTerminalBlock, IMyDoor, IMyLightnigBlock und Visual Sutdio keinen Fehler aus. Space Engieers meldet Fehler.

public Struktur Room //This Dosent Work

{

public IMyLightningBlock[] Lights;

public IMAirVent[] AirVents;

public IMyTextPanel[] TextPanels;

}


public struct Variables //This Works

{

public int i;

public string s;

public float f;

}


Space engineers own Variables dosent work in structs, Normal variables work.

I dont no, why this is so, because its very difficult, to code Ingame Scripts with structs with this Problems.

Replies (1)

photo
1

Hello, Rochus!

Thank you for letting us know about this issue. This has been reproduced and reported internally

Kind Regards

Laura, QA Department

Leave a Comment
 
Attach a file