ShowHorizonIndicator crash scrips in space

Twotwinbrothers shared this bug 5 years ago
Outdated

I know it dont show up in space, but in the terminal menu is a switch where jou can turn it off or on.

When i use the Programmable block to switch it in space it gives me a exeption.


I use this code:


List<IMyTerminalBlock> listl = new List<IMyTerminalBlock>();

GridTerminalSystem.GetBlocksOfType<IMyShipController>(listl);

for(int i = 0;i < listl.Count;i++){

IMyShipController pit = listl[i] as IMyShipController;


pit.ApplyAction("ShowHorizonIndicator");

}

it work fine on planets, but not in space.


I think it is because it can find Horizon Indicator

Replies (1)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file