Block 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 ArticleIntantBuildingEnable not changing?
Code: <InstantBuildingEnabled>false</InstantBuildingEnabled> ("true" desired) <GetOwnershipFromProjector>false</GetOwnershipFromProjector> ("true" desired) Code: void...
View ArticleIMyMechanicalConnectionBlock throw exception only when loading session
Hi o/ I face a strange behavior with IMyMechanicalConnectionBlock object. Here's a code who works on function main() script; but not on program() only when call 1st time after loading a game, if I...
View ArticleRotor Lock
Hey people The new patch notes mention: Rotor lock added to scripting API Does anyone anyone know what exactly was added? This would really help my current project
View ArticleGetting a warning in script
Hi there, can someone tell me why am I getting a Warning after compiling this script? And does anyone know if it breaks something within the code? Warning: 'IMyShipConnector.IsConnected' is obsolete:...
View ArticlePB Scripting Guide: How To Use Self-Updating
Greetings engineers! As you all have (hopefully) read in last week's update post, the PB now has some fancy new self-updating features which means you no longer need timer blocks! This self-update...
View ArticleGetting IMyThrust's orientation
Hello, I am currently working on a script that handles everything around hydrogen & hydrogen thrusters. I came to a point where I need to get all thrusters in specific direction. I tried to do it...
View Article1.186.201 Wheel information added for scripts/Mod
With today's minor, we got access to the wheel's information through C# information (instead of just terminal properties). I recommend using a script browser to see the new APIs available. I suggest...
View ArticleGenerating a directional gps point
Does anyone has know how to get directional gps points? I've been trying to find a ship's directional vector (not the nose heading but it's current trajectory) and create a gps point 5km ahead of this...
View ArticleMost useful cockpit function dont work in MP
Cockpit functions MoveIndicator, RotationIndicator and RollIndicator work for any cockpit(or even passenger seat) in single player. But in multiplayer they work only for Main cockpit. Fixing it wont...
View ArticleIMyAirVent.GetOxygenLevel
In Testing Creative, Earth-Like -200m sealevel: Large Grid returns 0.90 Small Grid returns 7.2 Moved both up to 3000m sealevel: Large Grid returns 0.90 Small grid returns 7.2 ? ? ? ? add/remove a block...
View ArticlePB return value by use of events (idea/concept)
Some of you might have encountered the problem of PBs not being able to return a value to its caller. I know, this is kind of rare. Theoretical problem: You made library wich you're using in some of...
View ArticleNeed help with gyro control logic - Greatly Appreciate any assistance
Hi guys. I write a lot of code related to drones and making them do things like mine, dock, and stuff.. like that. I'm having trouble with some simple... kind of simple logic that keeps tripping me up....
View Article[resolved]projector.LoadBlueprint() not working?(it does work afterall)
hi im trying to make a script to automatically configure all of the projectors on a structure so i can build a space elevator, each section is welded by a climber and has a projector on it which...
View ArticleVanilla default missile acceleration, start and max speed
I'm tuning a predicted interception point logic, and have issues with precise missile travel time calculation. Right now I'm using hardcoded value of 195, which works more-a-less well. I've checked the...
View ArticleSelf diagnosing flow chart framework
For some weird reason I have found making this kind of flow chart machinery interesting: http://steamcommunity.com/sharedfiles/filedetails/?id=1350063872 the point of the whole circus is that you can...
View ArticleRemote control gps script
I write a lot of python scripts for se, generating flight paths and things like that, however in game scripting has eluded me so far, I was wondering if anyone wouldnt mind providing a script that just...
View ArticleLF Speed Script
Hello together, i´m playing on a server with a increased speedlimit of 500 m/s. When i getting faster than 150 m/s and i fire some rockets, may ship get instantly rekt. It seems that the shipspeed...
View ArticleIMyInventory.CanItemsBeAdded usage
Some time have passed since last question about it so I wonder if today exists any possibility to use a method IMyInventory.CanItemsBeAdded and how to do that. This metod requires an argument of type...
View ArticleRare exception when compiling code.
Whenever i try to make this: Code: List<IMyTerminalBlock> ListName = new List<IMyTerminalBlock>(); GridTerminalSystem.GetBlockGroupWithName("Group of blocks to get").GetBlocks(ListName);...
View Article