Space Engineers

Space Engineers

Onvoldoende beoordelingen
Easy Action Sequencer
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
Bijgewerkt op
3.930 KB
14 jul 2015 om 4:36
28 sep 2016 om 9:35
6 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Easy Action Sequencer

Omschrijving
This script executes a list of actions with delays between them. it can be used to create for example an automated factory using only 1 timer block.
all you need to know is written in the comments inside the script.

UPDATE 1: with the new version 1.091 this (and MANY others) script was screwed up, but now it works again.

HOT FIX 28/09/2016: Fixed compilation error. (when checking code)

SLIDER UPDATE: now you can set slider values

I also made an example world: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=481343273
Check out also my Jump Distance Dialer script: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=484233284

THIS SCRIPT HAS BEEN IMPROVED TO SUPPORT MILLISECONDS, CHECK THIS OUT: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=505625799
22 opmerkingen
Maniac 17 feb 2016 om 15:17 
Oh god... I went back to the text panel after reading your reply, confident I would find all in order, but not wanting to just assume, and there were 4 empty lines past the last command. I swear, I double, triple, even quadruple checked for why it wouldn't work.
Eventually, I just assumed that there was a problem with delays, or long command sequences, because the first thing I used this for, was to change the radius of 2 lights during an alarm, worked fine. Welp, at least I learned how to rename blocks with scripts. That gives me lots of ideas. >:D
TheWarMaster97  [auteur] 17 feb 2016 om 5:02 
@Maniac Last time i used this script (months ago) it was working, maybe you wrote a blank new line at the end of the list of instructions. regarding the sliders, as long as you know their name, you can use them.
Maniac 16 feb 2016 om 15:01 
Well, I wrote my first real script. When it runs, it renames the timer block to _____-0. I set it to run at the end of the action sequence, so I don't have to reset it manually, and my automatic reloader is ready to go again.
Maniac 15 feb 2016 om 20:38 
When either this script, or the advanced version, gets to the end of the list of instructions, the programmable block puts out an error:

"Caught exception during execution of script: index was outside the bounds of the array"

I then have to manually change the name of the timer block back to -0, and recompile the script
Maniac 14 feb 2016 om 18:46 
I was able to use the "radius" slider for lights with this script, even though it's not listed in the available sliders list. Would it be possible to modify the color sliders as well? I would rather only have to use one script.
I.C.E. 4 dec 2015 om 10:46 
Descripton looks promising. Thank you!
TheWarMaster97  [auteur] 4 dec 2015 om 9:47 
@I.C.E. i'm busy for the next 2-3 weeks, but in the mean time you can try this new script by Coren, i think it does what you wanted
http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=566270789&searchtext=
I.C.E. 30 nov 2015 om 11:37 
Seems as a great solution
TheWarMaster97  [auteur] 30 nov 2015 om 11:18 
Maybe i can define multiple sequences in the same text panel, give them a name in the first line of each sequence and choose which one to run with the script arguments, and the script will stop executing the sequence when it finds another sequence name.
I.C.E. 30 nov 2015 om 10:42 
1000 symbols for one comment :(

Same example with different solution:
One text panel, one program block, and one timer, just one more text command for the script 'pause'. Script will go throught the sequence, and when it comes to the 'pause' line it only changes TB name to the right iteration number, but doesn't trigger it. Script is on hold until you manually ran it by yourself. Once you do it will continue from the point it stopped first time.
This solution is way more simple.