Help understanding "ref"
I'm having issues understanding the ref keyword. According do the documentation, you can check to see if a BoundingBox.D is intersecting with a LineD. However, the Intersects method calls for a "ref...
View ArticlePB API Critical issues
Please see here: http://forum.keenswh.com/threads/modapi-critical-issues.7390963/ I'll be fixing critical issues in PB API as well, so just post everything in the one thread.
View ArticleCheck if a Hydrogen Tank stockpile
I'm wondering if it's possible to get a status from a Hydrogen/Oxygen tank if it stockpile or not? There should be a Stockpile filed according to SpaceEngineers Wiki, but I'm not sure if that is...
View ArticleParsing XML from a string
Hi! For hours now I've been trying to figure out how to take XML from the CustomData string and parse it. There's a lot of XML related stuff in the namespace whitelist...
View ArticleDrone behaviors. Tutorial?
I noticed that drones now can have certain behaviors, such as strafing a target with a weapon. I saw an .sbc file pertaining to this. Is there some documentation of how this actually works? Is it...
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 ArticleProgramming console commands with a button or sensor?
Forgive my ignorance as I don't know much of anything about in game programs or scripts but is there a simple script that can be made to execute a console command? Example: let's say I want to use...
View ArticleCan I get currect max forse thruster?
Ingame IMyThrust has a property "MaxThrust", but in STABLE branch (maybe also in DEV branch, i do not chack it yet) it returns the maximum possible force without considering correct enviroment. For...
View ArticleLog4PB - Logging/Debugging Lib
What is Log4PB? Log4PB is a versatile loggin framework for Programable Blocks Minified Version: Download Current Size: 5253 chars. Please like/subscribe here so I can keep trak of how many people are...
View ArticleScrollimg text
Good day. ladies and gentlemen. Tell me, please, is it possible to display some text on the LCD a) with scrolling, even uncontrolled, and b) from an external file?
View ArticleGetting display names of IMyInventoryItem cleanly?
Is there an easy way of getting item names of IMyInventoryItem? Preferably using the item's DisplayName_Item found in the MyTexts .xml file in SpaceEngineers\Content\Data\Localization? IMyInventoryItem...
View Article-
Old title: A little suggestion to community about Custom Data field: do not use it in exclusive way All in title. At least, if it possible. Why: There is situations, there one block can be affected by...
View ArticleStandard Protocol for Manipulating block.CustomData
It seems that scripts are starting to use the block.CustomData field to store vital program info. Myself, I've been using it extensively for the scrolling display component of my Quick Cargo Display...
View ArticleUsing Method on Blocks List
Hi, Maybe a basic question, but i didn't found any proper example who explain how to apply action on blocks extracted from a list. No problem to deal with properties but anyway I a try to apply a...
View ArticlePossibilities of scripts to align ships on sets of axis(es?) based on cockpit...
With the introduction of scripting, there seems to be quite a few possibilites for scripts to do things. Sadly, I'm not familiar with in-depth scripting, or the language in general. What I was...
View ArticleTriggering timer blocks with wasd trough cockpit.
Has anyone written a script for this? This should apparently be possible with current api changes. This would be very useful for all direction gravity drives. I also suspect i am able to create a mech...
View ArticleTimes Chat messages
Hello there, I want to send a Chat message to all players before my dedicated server restarts. Is this possible? Can I send a Broadcast by a Programmable block?
View ArticleProgrammable Block TryRun kills script?
I feel like I may have missed a notice somewhere. This script invariable returns as too complex... Even stripped down to just the find a programmable block and use TryRun methods, it still is too...
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 ArticleAny documentation?
Hello everyone, I just got started with the programmable blocks in SE and I wanted to know if there's any documentation for the API, as I can't find any, just the wiki with some brief info. Note:I have...
View Article