Help needed to update simple script
Hello fellow Space Engineers, I had a very rudimentary but working script that allowed me to change the color of a group of lights for a airlock from green to red or red to green depending on the...
View ArticleRequest: Aiming thrusters
So. I have this project in SE. Ok this is like the VTOL control problem, but in space. I have a movable thruster on each corner of this ship: It's a freighter for the feb UESC contest. So as of now...
View ArticleActual limits of script complexity
What are the current actual limits to script complexity? I've read that it's 10,000 method calls and 50,000 "operations" (I don't know if that means bytecode level ops or statements), but that source...
View ArticleMicrosoft Visual Studio - Intellisense stopped working with today's update.
Has this happened to anyone else? We got a stealth update I think today. Has anyone tried to write code with the new dlls? I don't know enough about VS to pinpoint what changed or if I accidentally set...
View ArticleVar + Group
Hello, I have a question. I Script a Program and I need the "var light1" my script part: var light1 = List<IMyBlockGroup> BlockGroups {light}; I want my Group of the interior Lights... i dont...
View ArticleScript Solar Day Night Detector Tutorial (German, English)
German: (English under German) Hier ein Extrem hilfreiches Script!!! Was kann das Script? Es erkennt wenn Sonne auf die Solar Panel trift und Deaktiviert automatisch Lichter (und andere objekte) Was...
View ArticleSmall improvement on stock drone AI.
I've written some other stuff that is much more complicated that uses two programmable blocks and two timers and three remote blocks that splits up drone behaviors and the ability to bread crumb it's...
View Articlescript UI sugestions
I am designing a script to network together many ship and station grids and i already have a framework and basic menu system in place. I am interested to know if anyone has found a good way to do...
View ArticleConcept: auto docking?
Has anyone done something like this:? In space, you fly your ship close to a station, but not super-precisely and with some clearance to obstacles. You press a button on the console, activating a...
View ArticleDynamically Selective Merging
Is there a way to script/mod for a block to not be able to merge with other blocks on a certain side? The application is for a shipping container system. Containers have a merge block on each of it's 6...
View ArticleDo I Have This Right?
My understanding of programmable blocks is that they can run for a maximum of one second, and every time you run them they get reset and everything gets reinitialized. So, if you have a for loop...
View ArticlePlease help! DetailedInfo Line Casts an error
I've spent all day trying to make a script work. Now I'm so close to my goal but this line casts an error. "Input string was not in a correct form" Code: double RotorAng = Convert.ToDouble...
View ArticleGet current angle of rotor
Hello Coders! Getting the current angle of a rotors is something that has been somewhat of a problem for me. Because of this i set out to create a simple piece of code that could get said angle. Below...
View Article3rd party script compiler
Is there a lightweight program that I can use to check if a script compiles without using the SE client? I sometimes work on scripts away from home and I'd like a way to check their validity on my...
View ArticleGet Programmable block that runs code
How can I get the programmable block that runs the current program within the program?
View Articlemy script will crash every time when one of the blocks is destroyed or missing
my script will crash every time when one of the blocks is destroyed or missing i am looking for another way i do it this way now: void Main(string argument) { IMyTimerBlock Tsaver =...
View ArticleGet thruster types and size without name
Is there a way I can specify the thruster type (ion, hydrogen, atmospheric) and its size in a PB program without sorting it by name?
View ArticleHelp: IsConnected & IsLocked obsolete?
Hello, I am writing a script that is reliant on knowing when a connector can connect and when it is connected, but when I run it it says IsConnected & IsLocked are obsolete and the if's that are...
View ArticleBlock scripts requests thread
As programmable blocks came to SE, and not all players are programmers, I guess a thread with block requests is reasonable. Basically, if you want a script on your block, post explanation here. Other...
View ArticleWheel Suspension Speed Limit not accesible through ingame scrips? Why?
I'm currently writing a script which is supposed to change the speed limit of a set of wheels under certain circumstances. However looking into the documentation here I didn't find any functions to...
View Article