Space Engineers

Space Engineers

Red Alert! Script [FIXED]
9 Comments
Jayfeather  [author] 12 Jul @ 3:09am 
@LillyAvali

I'll try to fix it, but I don't promise. Since I'm not a programmer at all
LillyAvali 3 Jun @ 6:44pm 
The script is broken and doesn't interact correctly with the current version of Defense Shields.
It throws an exception and bricks the whole script, the mod ID and name for Defense Shields has changed and the script doesn't know how to handle this correctly.

Confusingly the script seems to contain a bunch of if statements telling it to ignore the shield mod and not bother with trying to handle it, but it still breaks and doesn't engage red / yellow alert.

Is there any chance you'd be willing to fix this?
pvC.Squish 12 Jan @ 9:56am 
@Jayfeather hi, I get some errors, if I put const bool autoToggle = true; to false. I get 5 x "Warning, unreachable code detected." For now I don't want the script to activate turrets or (not existing) shields. Could you please check? Maybe it's just something small ...
Citrus151 2 Nov, 2024 @ 3:09am 
im getting an error from defense shields instance or something
Sirky 10 Oct, 2024 @ 10:40am 
hey, this fix works with energy shields too?
thx for update
Sethmanca 5 Oct, 2024 @ 4:50pm 
Amazing work making this script work with the newer blocks. I love modifying the alert names to work better with my ship. (like changing the "normal" to the name of the ship.) Is there a way to make it work with the new console blocks, or have it centred properly on the angled LCD blocks when rotated?
Kinoe 27 Aug, 2024 @ 3:44am 
Thanks for the fix :D
Jayfeather  [author] 27 Aug, 2024 @ 2:35am 
Maybe in the future this feature will be add
Kinoe 26 Aug, 2024 @ 2:30am 
Any chance to use in mods LCD?