Lena80
Member
Hellooooooooooo so the next code check for landtiles and all that.
Can anyone help me to modify it so it check for STATICS instead? (like trees)
Can anyone help me to modify it so it check for STATICS instead? (like trees)
C#:
LandTile lt;
Map map = Map.Trammel;
for (int x=5150; x < 7168; x++)
{
for (int y=1;y < 2020;y++)
{
lt = map.Tiles.GetLandTile(x, y);
//if (lt.ID== x) checking the landtile ID