[Help] Overriding or reordering waypoints in remote block.
Is there a way to take the list of waypoints in the remote block and reverse their order so the last entry is now the first and the first the last? I know of the functionality to add a waypoint via the...
View Article1.135 Major Scripting changes
Major scripting changes are listed for 1.135: Drui said: ↑ “Features - modders can now create their own terminal interfaces (by Tyrsis) - production API changes (by Tyrsis) - projector ModAPI changes...
View ArticleThe IMyRemoteControl and IMyShipController update
Apparently the documentation file isn't being generated any more, so I'll just pop the interfaces here for your perusal. IMyRemoteControl.cs Code: /// <summary> /// Provides basic information...
View ArticleSolar Panel current output
Hi, guys! I need help with scrypt, which make any block do some action when the current output of solar panel is more or less than some value. For example, if current output is more than 50 kW, turn on...
View ArticleReusable Code - Passing a IMyBlockType as a variable
I have an old code i have been reworking. I had an idea to create a method which receives a list of blocks, the type is block you wish to cast them as, and a string variable as an action. here's a full...
View ArticleRequest: Script to Lock/Unlock a Group of Pistons and/or Rotors
To any who have the extra time and are willing to assist: In timer blocks and the toobar, when trying to use the safety locks for pistons and rotors, we are only given the option to switch the state. I...
View ArticleTaleden's Inventory Manager
Latest version: 1.5.0 (2016-05-24) Steam Workshop Page User's Guide Taleden's Inventory Manager (TIM) is an in-game script which automates the management of your inventory, refineries and assemblers....
View ArticleConnector Strength Property can write but not read
I'm trying to get the current value of a connectors strength, but I'm running into a roadblock somewhere. I can write to that field by using: SetValueFloat("Strength", 100f); But using that same...
View ArticleImporting code to in-game scripts.
I've looked around a bit and it doesn't seem like you can't import code into scripts at the moment. Does anyone know if this is possible? If not, I would really like to suggest an import system of some...
View ArticleGetDirectionTo Function
Here's a helpful little function to get the Pitch and Yaw to a target vector. Code: /* VRageMath.Vector3D TV This is the target vector. IMyTerminalBlock Origin Origin block. IMyTerminalBlock Forward...
View ArticleNon Programmer friendly Programming
Hi All, I've been playing Space Engineers quite some time but have hit a definite wall in gameplay because of the programming issue. There is a distinct limit to what can be achieved with blunt...
View ArticleHow can I get the name of grid?
So, pretty selfdescriptive. Is there any way to extract the grid name (as shown in Info tab) in a script?
View ArticleGridTerminalSystem BlockGroups Property
Greetings Is the GridTerminalSystem.BlockGroups property removed? Am trying to get this piece of code to work, but I keep getting the error that the property does not exist. I've tried to lookup the...
View Article[Beta] Space Engineers Workbench - A feature rich IDE for Space Engineers...
Hello all. My name is Tim and I'm a professional and hobbyist software developer. I had posted my original thread in the modding forum, but I think this forum may be more appropriate. For the last few...
View ArticleDisabling doors that are closed/understanding GetBlocksOfType
EDIT Thanks to the help of the users in the thread, I've figured out how to accomplish my task. Thanks guys! Here's the code. It's got more lines of code compared to the slick things the other users...
View ArticleIs there a way to get the type of grid?
Hey guys, I'm doing a script to control the oxygen, airlocks and all that good stuff. I would like to find out if the grid is a small one, for example, because of the capacity of the oxygen tank. It...
View Article(Request) vertical gyroscope damper
A vertical gyro damper for help mechs still standing on gravity. Is it possible?
View ArticleIMyLandingGear.GetAttachedEntity()
This is a method, maybe unofficial since it wasn't described in the documentation so far, but it is there. It returns the entity of the locked object. VRAGE.ModAPI.IMyEntity GetAttachedEntity() Member...
View ArticleHow can I inherit from script class?
So, I'm writing a class within my script. How can I inherit from the script's instance, so the class automatically gets access to local GridTerminalSystem, Me and other neaties? I can inherit from...
View Articlewhere Statement not working?
Hi, I'm trying to make a function, that directly gives me a List<T> instead of the List<IMyFunctionalBlock>! My first attempt: Code: public List<T> getAllBlocksOfType<T>() where...
View Article