Monospace in color
How do I get characters to become a different color when using monospace font? I've searched forums/google but can't find anything specific. I see most scripts are using a special character for each...
View ArticleSimple Scripts gets "Script Too Complex" error
Hey guys i've been having a problem recently that prevents my script from working correctly. I have a super simple script on a grid of 50 ish blocks that grabs the laser antenna with...
View ArticleEarly Warning System
On my MP, I have had drones constantly popping up, and causing a bit of damage to my ships. Because of this, I have been trying to find a script which can basically activate an alarm if enemies are...
View ArticlePB display all blocks to LCD
Hey guys, Im fairly new to scripting (ha have been for years) and im trying to get started in C# within SE. i wanted to make a simple script that created a list ALL functional blocks on an LCD screen....
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 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 Article