Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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
"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
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=566270789&searchtext=
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.
If you can define those two names with arguments you can then use one programable block to perform different action sequences, based on text pannel name without actually opening 'K' menu and rewriting the name at the script body. For example - you want to raise all your rover wheels, then engage landing gears lock and then lower the ramp. Vice-versa actions cannot be performed by just triggering the program again, since it will touch wheels first, but you actually need it to raise the ramp, unlock gears and only then get wheels to normal.
Having another text panel with vice-versa sequence and ability to determine what sequence to perform in script arguments will allow you to have only 2 slots occupied on a hotbar (one with argument like panel=Sequence 1, second with panel=Sequence 1), running the same script.
Any chances that you can update both scripts to accept Text panel and Timer names as arguments? It seems easy, but while I can change/write some very basic code, I have no experience in text parser, and you definately have it :)
Just to be sure you know that - your advanced actions sequencer have the same issue.
Very helpfull scripts by the way. I use them often now!
Line 308: "TB-" string is used to set a new timer block's name with delay, ignoring the prefix set in script settings at a top.
It makes running several programmable blocks with this script impossible.
Right now i'm working on an update for my set jump drive distance script, i will probably finish tomorrow, after that i will check out the script you suggested me and see if i can find a way to do what you asked.
"The lurking suspicion that something could be simplified is the world's richest source of rewarding challenges"
- Edsger Dijkstra