[1.204] Searchlight, programmable block and server

Mad-Catcher shared this bug 3 months ago
Reported

Greetings!

There's issues with searchlight blocks in programmable blocks:

  • The method "SetManualAzimuthAndElevation" works only on host side. Players joining the party don't see searchlights rotating using this method except the host.
    IMySearchlight light = GridTerminalSystem.GetBlockWithName("light") as IMySearchlight;
    light.
    light.EnableIdleMovement = false;
    light.SetManualAzimuthAndElevation(0, 0);
  • In the following part of code, the color parameter has no effect on hosted parties.
    IMySearchlight light = GridTerminalSystem.GetBlockWithName("light") as IMySearchlight;
    light.Color = Color.Red; //Does not work
    light.SetColorValue("Color", Color.Red); //Works but ugly

Note: these issues appear only on hosted parties, with and without mods. I also noticed searchlights does not implement IMyReflectorLight since they work as such or at list IMyLightningGroup which concerns quite all lightning blocks but searchlights.

Replies (1)

photo
1

Hello, Engineer!


Thank you. We have reproduced the issues and added them to our internal system. The thread will be updated once we have more information.


Kind regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file