i woud like to have the option to be able to change the speed of with the rotating lights turn
Rotating Light just broken after fix .019
It is possible through the Programmable Block. For example, like this:
var flasher = GridTerminalSystem.GetBlockWithName("Flasher") as IMyLightingBlock;
flasher.ApplyAction("IncreaseRotationSpeed"); // +1 speed
flasher.ApplyAction("DecreaseRotationSpeed"); // -1 speed
flasher.SetValue("RotationSpeed", 0.05f); // explicitly specify a speed from 0.01f to 0.1f ("f" at the end is required)
Comments have been locked on this page!