Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Script to get armour block positions

$
0
0
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 would like to also get the positions of armour blocks.

Does anyone know how to do this?

Code:
 
public void Main(string argument) 
{ 
    string report = "";  //Create string to dump text into 
 
    //Get Block and position 
    var blocks = new List<IMyTerminalBlock>();  //Create empty list...
Script to get armour block positions

Viewing all articles
Browse latest Browse all 645

Latest Images

Trending Articles



Latest Images