Space Engineers

Space Engineers

Not enough ratings
ApplyGroup
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
683.000 B
10 Apr, 2015 @ 5:07pm
1 Change Note ( view )

Subscribe to download
ApplyGroup

Description
int ApplyGroup(string groupName, string action)

Apply an action to a named group of blocks. Not all blocks in the group need to support the action, the script will apply the action where it can. Note: groupName and actions are case insensitive. Function returns the number of actions fired.

Helper script to dump action names for a given block is at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=422934528, the helper script isn't necessary to run the ApplyGroup script.