Space Engineers

Space Engineers

Precise Timers (Frame by Frame Countdown of Timers)
156 Comments
Blarfnarg Jun 22 @ 4:37am 
Can anyone verify if this script is still working? I cannot seem to get it to work in my game.
SioxerNikita  [author] Sep 26, 2024 @ 1:31pm 
Hopefully, I really should've updated it to trigger by itself XD regardless still works.
Merlin Sep 25, 2024 @ 11:35pm 
A decade later and the script still works perfectly.
SioxerNikita  [author] May 10, 2024 @ 5:28pm 
@YCMKNDY90 No clue haven't played for a long time, since May 11th 2022 XD
L5sumu May 10, 2024 @ 5:02pm 
Isn't the Automatons timer block compatible?
Marcusinfestus Oct 21, 2023 @ 6:55pm 
I get it. Too bad really. This mod makes so many things possible!
SioxerNikita  [author] Oct 17, 2023 @ 3:38am 
@Marcusinfestus I perfectly understand why KEEN wouldn't do that.

The game is not optimized for having tons of timers running and being triggered at tick rate. It never will be.
Marcusinfestus Oct 14, 2023 @ 10:21am 
I wish KEEN would just make this a thing; 1 sec just isn't tight enough.
Reverie Lightmare Oct 14, 2023 @ 5:25am 
This isn't working for me either unfortunately.
SioxerNikita  [author] Oct 4, 2023 @ 12:06am 
It should, nothing has really changed.
TH3 L00S3 C@NN0N Oct 3, 2023 @ 1:10pm 
Is this script still working? I am trying to set it up to drop bombs .25 seconds apart. I have the timers with Adv at the end at set 25 seconds (ticks) apart but it’s still going by seconds
SioxerNikita  [author] Apr 16, 2023 @ 12:21am 
Thanks, I built it specifically to be as performant as possible
StuntPuppy Apr 15, 2023 @ 4:10pm 
Love this script, use it all the time, it's still quite functional. The most basic and yet most useful script if you want to do anything with precision timing. Personally I update it to not need a timer block trigger.
Fweggigun Dec 10, 2022 @ 5:53pm 
Does not show up in my list...
Dova Dude Oct 29, 2022 @ 6:53pm 
Can you test it on your end?
SioxerNikita  [author] Oct 29, 2022 @ 1:27am 
Then it might finally be broken, but I doubt that. The code is so simple that it shouldn't.
Dova Dude Oct 28, 2022 @ 8:55am 
I hope I did, that would make the problem easier to solve, but I followed that video *exactly*
SioxerNikita  [author] Oct 28, 2022 @ 2:02am 
Then you did something wrong
Dova Dude Oct 27, 2022 @ 4:53pm 
It's all activating instantly for me, whether set to minimum time, maximum time, or anywhere in between.
SioxerNikita  [author] Aug 26, 2022 @ 12:02am 
@Night Stalker, it is 60 ticks per second.
Night Wing Aug 25, 2022 @ 3:21pm 
plus you got it wrong its 60 ticks per minute
not second
Night Wing Aug 25, 2022 @ 3:20pm 
negative @Cosmonautical_Alex the timer does not do anything between the ticks it only works at each tick
Cosmonautical_Alex Aug 25, 2022 @ 12:06pm 
So I can add decimals to the timer delay, will that actually do anything? If there are 60 ticks in a second can I trigger stuff between two ticks instead of at the tick?
SioxerNikita  [author] Jan 26, 2022 @ 2:22am 
Check example. Nothing significant (in terms of what this script does) has changed. I haven't even added the auto run part of scripting yet, so you need to manually run it with a timer.
ZiomekBBT Jan 25, 2022 @ 11:31am 
I added Adv at the end and nothing change. Maybe its broken?
SioxerNikita  [author] Oct 27, 2021 @ 7:14am 
It should theoretically never break. Subscribe to the example.
rme0108 Oct 27, 2021 @ 4:14am 
Is this script still working att? I can't seem to get it working at all.
SioxerNikita  [author] Aug 19, 2021 @ 10:28am 
I should sit down one of these days and make the script auto trigger itself.
SioxerNikita  [author] Aug 12, 2021 @ 6:29am 
xD Heh :)
M200Chan Aug 12, 2021 @ 5:47am 
Ah, my apologies. It was user error - I accidentally removed the timer block that triggered the programmable block during construction. The script works as intended.
SioxerNikita  [author] Aug 12, 2021 @ 1:29am 
It should still be working. Does the example world I made work?
M200Chan Aug 11, 2021 @ 5:48pm 
Can someone confirm if this is still working? I'm trying to get precise timers for my catapult, but the script isn't registering the blocks.

What I've done:
Named the timers "Firing Stage 1 Adv" (no quotes), "Firing Stage 2 Adv" etc.
They all chain to each other - this was tested without the script and works.
They all have a time of 60 (1 second).
I've recompiled the script after naming each timer.
I triggered "Firing Stage 1 Adv" (result below).
I stopped all timers, and started (didn't trigger) "Firing Stage 1 Adv" (same result).
I set the delay of each item to one second and triggered the timer again (see second result below)

When I execute the first timer (using Trigger Now, though the others are just linked with Start) and the timers are configured to chain with sixty-second intervals (before the script's intervention), the timers execute with a sixty-second delay, as opposed to a one-second delay.

When I repeat with a one-second timer, the sequence executes as normal.
SioxerNikita  [author] Jul 15, 2021 @ 1:41am 
Doesn't matter
LSG123 Jul 14, 2021 @ 4:47pm 
ayo do you run with default agument or somat else?
Mercair Apr 16, 2021 @ 9:59pm 
@Keko the weeb one Maybe try Whip's Salvo script? much easier way to do what you're trying to. https://steamcommunity.com/sharedfiles/filedetails/?id=1221921128&searchtext=salvo
SioxerNikita  [author] Mar 31, 2021 @ 9:00am 
You could try rephrasing it? :)
Keko the weeb one Mar 31, 2021 @ 8:01am 
im sorry

SioxerNikita  [author] Mar 30, 2021 @ 10:57pm 
Frankly, I don't understand what you mean.
Keko the weeb one Mar 30, 2021 @ 7:10pm 
im sorry if this question bothers im trying to get a raction chain going for some rocket launchers.what i mean is i trigger the timer wich triggers rocket launcher 1 and the next timer for rocket launcher b and so on im not able to get it going, it starts repeting itself even without a comand and also starts the timer in real full scnds.
SioxerNikita  [author] Mar 15, 2020 @ 7:30am 
Be free to add it, but I haven't really played Space Engineers in quite a while.
Const Mar 15, 2020 @ 6:05am 
hi! can i request an addition to the script to include the repeat line so as to no longer have a need for an external timer block to run itself? thanks!
SioxerNikita  [author] Nov 6, 2019 @ 10:12am 
Add me to friends, I'll help you when I have time.
Zoivac Nov 5, 2019 @ 12:29pm 
Me too, ive done all in the instructions but it doesnt work, i dont know why... 😕
Celestite Jul 13, 2019 @ 2:55pm 
@SioxerNikita i believe the script is broken, i followed the instruction thoroughly and it doesnt work
SioxerNikita  [author] Feb 28, 2019 @ 11:04pm 
You'd have to ask Keen about that. It is a very very light scripts, so shouldn't have this problem. It only checks the entire grid for new "Adv" blocks every 10 seconds or so.
Raelsmar Feb 28, 2019 @ 8:48pm 
In the release update, running this script seems to cause about a 25% drop in sim speed. Increases to normal if the programmable block running the script is turned off. Any reason why this would happen on this update but not in the 1.188 (previous) update?
CTH2004 Feb 25, 2019 @ 3:55pm 
Ok!

Glad to hear it!
SioxerNikita  [author] Feb 24, 2019 @ 11:51pm 
I don't know.I guess depends. I definitely check up on whether it is broken.
CTH2004 Feb 24, 2019 @ 8:17pm 
You should have a collection for your scripts. Right now it isn’t very many, but eventually...

Also, if an updade broke this script, you would fix it, right?
SioxerNikita  [author] Feb 11, 2019 @ 9:21am 
No prob