Request for smaller scripting improvements
Ok, here's my request for a few things that I stumbled upon while trying stuff with the ingame API First there are missing whitelist entries for ingame scripting:...
View ArticleHow to find values/properties of a block
To start off, yes I know how to find the basic terminal properties (I think thats what they're called) that look like this: Laser Antenna Implements IMyLaserAntenna IMyFunctionalBlock Properties OnOff:...
View ArticleFind Weld/Grind Speed with in-game script?
Can a script look up tool speed? I really would love it if my auto welders had an idea of how fast they are able to finish a job so they don't skimp on the armour blocks which they cant check the...
View ArticleInventory API change after update?
After the update, my inventory script stopped working. The code checker says "The type or member 'string MyObjectBuilder_Base.SubtypeName' is prohibited.'" The code in question is Code: var itemList =...
View ArticleUpdate a script from a different computer
Hey everyone, It's not exactly a programming but a workshop publishing question. When in create a script in a computer A, I can of course download it on a computer B by the workshop but when I try to...
View ArticleIngame API Feature Requests
I know you guys have a million feature requests for the PB, so give them to me! Be aware that the PB is limited by design. You probably won't get access to System classes.
View ArticleAuto pilot
Hi, I want to try to make my own script to stop using the auto pilot. Because I have really too much trouble with that, and the last update seem to make it even worse. Before the update my drone where...
View ArticleSave And Restore State Of A Block
Is there a way to save the state of a block (all its properties and settings) and then at a later point restore it? I am currently saving the On/Off state to the Custom Data field of the block but I...
View ArticleRaycasting Not Working Anymore?
Edit: Figured it out, people on the discord were nice enough to help me. Not sure how to delete this thread.
View Articlefull list of itemids or something equivalent.
hi im coding a control script for my sorters and for that i need a list of all component/ore/ingots ... ids. aka anything that can land into a sorters filterlist. the reason is i want to display a list...
View ArticleIssue terminal commands to another ship?
Is there some script or programming that can access the terminal controls of another ship? What I want to do is activate the Autopilot on a ship from another grid via a button press. You can do this...
View ArticleHow can I roll my ship to align its floor with the floor of a station?
So I'm trying to make an automated ferry that will bounce around between 2 or more stations. To make this work really well, I want the ship to orient itself on the roll axis so that it's idea of "down"...
View ArticleIs there a getTime function?
I would like to know the time the block has been running or the sim time. when I use ray cast from a camera block it gives a timestamp but idk where to grab time to compare the timestamp to. I would...
View ArticleChange Button Panel Via A Script?
Is it possible to change what the buttons on a button panel activate via a script?
View ArticleChange Color Of A Block Via Script?
Is there a way to do this and if so what effect would it have on server performance.
View ArticleCreate And Edit Block Groups Via Script?
I am wondering is there a way to create and edit block groups via a script?
View ArticleSet Share Inertia Tensor?
Is it possible to set the "Share Inertia Tensor" via the Program Block for the Rotor and Piston? On this page it doesn't list the property at all for either the Rotor or the Piston:...
View ArticleIngame scripts on online server (dedicated) not working as expected
Hey everyone, I have a script which couldn't be any simpler: public void Main(string argument, UpdateType updateSource) { IMyFunctionalBlock thruster = GridTerminalSystem.GetBlockWithName("Atmospheric...
View ArticleCryo Chamber Properties
According to API Cryo Chamber's have the following properties: Code: Actions Name Description ControlThrusters Control thrusters On/Off ControlWheels Control wheels On/Off DampenersOverride Inertia...
View ArticleOverride Detailed Info
I think it would be quite handy if players could override the detailed info for a block and it replace it with some custom text. For example the turret block currently displays nothing but you make a...
View Article