Space Engineers

Space Engineers

Not enough ratings
Get All Blocks from a Group
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
359.036 KB
4 Jan, 2015 @ 11:40am
4 Jan, 2015 @ 11:48am
2 Change Notes ( view )

Subscribe to download
Get All Blocks from a Group

Description
This script allows the use of a method GetBlocksFromGroup(string groupName) to get all blocks from a group. Returns List<IMyTerminalBlock> and throws an exception if the group is not found.

USAGE EXAMPLE:
var lights = GetBlocksFromGroup("Lights");