Problems with IMyTextPanel
Hello there. I think there is something wrong, Visual Studio dont know about the CustomData proberty of a IMyTextPanel. Ingame the code compiles with no errors
View ArticleObtaining Filled % from a tank
I have been unable to utilize GetOxygenLevel() to obtain the fill % from a Hydrogen (or oxygen) tank. Here is what I have been trying: Code: void Main(string argument) { var tankArray = new...
View ArticleScripting Autopilot Forward Direction
Is there a way to designate the forward direction of a remote control via scripting? EDIT: Got it, remote.ApplyAction("Forward");
View ArticleGetting World Vector of a point 20 meters below current
I'm trying to create a Vector3D coordinate using GetPosition() of a block, and I want this new point to be 20 meters directly under it. I'm having trouble understanding the linear algebra methods to...
View ArticleIs there any way using only 2 programable blocks to make a timer like block?
I am trying to work around the bug where a projected/built timer block does not remember its actions (like a call to a programmable block, and then to itself to create a loop). In the past I would use...
View ArticleLoad blueprint into projector?
I can't seem to find any way to load a particular blueprint into a projector.. I can see all the manipulations to move one, but nothing to actually drop the blueprint in there to start with. Anyone...
View ArticleGet grid length, width, height
Is there a scripting method to get the volume of space a grid is occupying?
View ArticleIs the foreach loop working in game
haven't done ingame programming in a while has this problem gotten fixed
View ArticleIngame Programming missing API and functions and known issues
So i've decided to sum up, what i'm mostly missing on blocks in ingame API Please add things you want to see, or that should be here Before i list missing APIs i add few known issue and possible...
View ArticleRaycasting Implementation
Is anyone planning to revive script concepts (such as GFCS), rebuilt to rely on raycasting? I'd like to have some options for targeting PMWs that utilize this new system.
View ArticlemyAirVent.Status.ToString() unexpected report
If the air vent cannot pressurize (the air vent is exposed to vacuum), it will report whether it is attempting to pressurize or depressurize. It will not report "depressurized" at any point. If the air...
View ArticleIMyProjector RemainingBlocksPerType missing Armor Blocks from Dictionary
I do not know if this is the correct thread so please move it if not. Hey guys hoping someone that drives PB updates can help. It seems from testing tonight that IMyProjector.RemainingBlocksPerType...
View ArticleNatural Gravity as an Integer
Hey guys I have somewhat of a problem scripting... I want to have the natural gravity as an Integer for further calculations, but the problem is I am not able to find a way to use the result of...
View ArticleRotor's attached grid
Is there a way to find out which grid is attached to a rotor? Something like connectors: Code: List<IMyShipConnector> connectors = new List<IMyShipConnector>();...
View ArticleHow can I use Linq extension methods?
Hello everyone. I've been playing the game for a couple of weeks and recently I discovered the programmable blocks. Luckly, I don't have too much difficulty making scripts since I'm a C# developer for...
View ArticleScript to get armour block positions
I am writing a script to plot the position of all blocks on a grid onto a monospaced display panel. I have a very basic setup which gets the positions of all blocks that appear on the terminal, but...
View ArticleGet/Set ship name from PB
Is there a way to do this? Changing the name of the antenna would be the next best thing, but I'm looking to access values in the terminal "info" tab.
View ArticleProblems with IMyTextPanel
Hello there. I think there is something wrong, Visual Studio dont know about the CustomData proberty of a IMyTextPanel. Ingame the code compiles with no errors
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 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 Article