Space Engineers

Space Engineers

Alarm - Battle Ready with one click (Update 2021)
10 Comments
Ashes Vargrand 3 Jan, 2024 @ 5:30am 
have some trouble with alarm to change back the lights so i do some changes in script:

void ResetLightColor(IMyLightingBlock light)
{
var color = new Color(150, 255, 255);
var blinkLength = 0f;
var blinkInterval = 0f;
var intensity = 1.0f;

light.SetValue("Color", color);
light.SetValue("Blink Lenght", blinkLength);
light.SetValue("Blink Interval", blinkInterval);
light.SetValue("Intensity", intensity);
}

and for the void UnsetAlarm()

if (block is IMyLightingBlock)
{
ResetLightColor((IMyLightingBlock)block);
ApplyAction(block, "OnOff_Off");
}
Zer0Gamler  [author] 17 Apr, 2023 @ 5:50am 
it is posible that it after the new update will not work anymore if so please write in "Bug/Error Reports" a message and i will take a look.
Ahsoka Tano 16 Apr, 2023 @ 7:03am 
here's hoping this one works, cause the last 3 I've tried don't sadly
kinngrimm 12 Mar, 2023 @ 12:15pm 
does this send a factionwide gps of the grid that gets attacked?
Hermann 13 Feb, 2022 @ 12:37am 
thanks for your work
Zer0Gamler  [author] 11 Sep, 2021 @ 3:00pm 
ok no problem
[TGG] DoctorHeisenberg 11 Sep, 2021 @ 12:22pm 
oh no i didn't do it properly that's what i meant by nevermind sorry for the misunderstanding
Zer0Gamler  [author] 11 Sep, 2021 @ 12:18pm 
what did not work properly maybe i can fix it?
[TGG] DoctorHeisenberg 11 Sep, 2021 @ 12:05pm 
nevermind
[TGG] DoctorHeisenberg 11 Sep, 2021 @ 11:39am 
got rid of script since it didn't work properly so i got rid of it and my lights are going crazy and i cannot fix them