- Tank Boy Ken
- Aug 24, 2012
-
J4G for life
-
Fallen Rib
|
... What are the advantages to pressurizing an interior?
You can take off your helmet! Without dying! This would be needed if you'd have to eat/poop or whatever. Perhaps the next add on will be a potato garden...
|
#
¿
Jun 7, 2015 15:56
|
|
- Adbot
-
ADBOT LOVES YOU
|
|
#
¿
May 16, 2024 07:44
|
|
- Tank Boy Ken
- Aug 24, 2012
-
J4G for life
-
Fallen Rib
|
I haven't looked at any SE Programming blocks, but from this page: http://steamcommunity.com/sharedfiles/filedetails/?id=360966557 (official prog block guide)
and found this (): http://www.reddit.com/r/spaceengineers/comments/2r1i9q/programmable_block_example_disable_all_turrets/
quote:
Available interfaces
Possible actions
Currently only terminal actions can be triggered inside scripts. User can access terminal system for grid on which programmable block is located and trigger any terminal action on any block at grid.
GridTerminalSystem variable
Currently only following “built-in” variable that user can use: GridTerminalSystem. This is entry point of entire grid terminal system.
It has following methods available:
List<IMyTerminalBlock> Blocks{get;}
List<IMyBlockGroup> BlockGroups { get; }
void GetBlocksOfType<T>(List<IMyTerminalBlock> blocks, Func<IMyTerminalBlock, bool> collect = null);
void SearchBlocksOfName(string name,List<IMyTerminalBlock> blocks, Func<IMyTerminalBlock, bool> collect = null);
IMyTerminalBlock GetBlockWithName(string name);
With these methods all terminal blocks of grid can be collected.
I hope that helps. You can either loop through the List "Blocks" or search for a specific block.
|
#
¿
Jul 17, 2015 09:31
|
|