Space Engineers

Space Engineers

Not enough ratings
Alarm Script - Battle Ready
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.655 KB
20 Jun, 2017 @ 1:04am
26 Jun, 2017 @ 4:53pm
2 Change Notes ( view )

Subscribe to download
Alarm Script - Battle Ready

Description
The original script is not mine. I just updated it a bit and fixed the errors that kept it from working. NOW WITH NO ERRORS OR WARNINGS!!! Any help would be nice for ideas that make this better. It still does work though.
14 Comments
Zer0Gamler 6 Sep, 2021 @ 8:40am 
This one here shows errors in the PB but still works so i did make an update my self with no timer support and added the rotary light from the deco DLC #2:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2592996560
Hot Laundry 20 May, 2020 @ 11:07pm 
Does it still work on its own in 2020?
reload 14 Sep, 2019 @ 10:17pm 
Hey Izzzy, any chance of getting this working again?
MechNoxer 12 Apr, 2019 @ 12:27pm 
pls update for new vesion
HostageRPG 29 Mar, 2019 @ 1:53pm 
It would be great if it would add to text already on a text panel, rather than delete and replace it. Maybe not possible. Just a thought, and you asked for ideas
azfalt 11 Jan, 2019 @ 8:08pm 
Is there a limit to scripts if an amount of blocks are exeded?
I want to use this script in diferent scenarios on a large/small grid ship design. when i use the script with this:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1607980611
the alarm script works as intended, but when i put this leg on to the ship its designed to work with, the alarm script stops to function and i get a message in the script menu:

Found exception while running script:
Object reference not set to an instance of an object
at Program.GetTotalDamage{}
at Program.Init{}
at Program.Main{}
at Sandbox.Game.Entities.Bloks.MyProgrammableBlok.<>c__DisplayClass26.<ExecuteCode>b__25(IMyGridProgram
program)

at Sandbox.Game.Entities.Blocks.MyProgramableBlock.RunSandboxedProgramAction(action'I
action.
String&
response)


Hope someone can tanslate the mening of the message i get from this alarm script and therby an explenation to why it wont run as intended.
azfalt 6 Jan, 2019 @ 12:48am 
@ronon_dex looks like we have to insert thatone manually, untill modder gets bck into updating this script, or maby someone els interily takes this task.
ronon_dex 15 Nov, 2018 @ 7:32am 
Program()
{
Runtime.UpdateFrequency = UpdateFrequency.Update1;
}

paste that in after "bool" and before "void Main()" so you dont need a timer block,and it will update a lot faster,if you lag,then change .Update to 100;
ronon_dex 15 Nov, 2018 @ 7:25am 
try using this too

Program()
{
Runtime.UpdateFrequency = UpdateFrequency.Update100;
}

ronon_dex 15 Nov, 2018 @ 7:17am 
Please make it so that you can erase the text panels