PathFree2 Landscape 5.1 OC array int x1 X coordinate of the start point int y1 Y coordinate of the start point int x2 X coordinate of the end point int y2 Y coordinate of the end point Works like PathFree, but instead returns an array containing the coordinates of the first solid pixel found on line. Returns nil if the path is free. All coordinates are global, even in local calls. var x = Random(LandscapeWidth()), pos = PathFree2(x, 0, x, LandscapeHeight()); if(pos) CreateObject(Idol, pos[0], pos[1]); Creates an Idol somewhere on the surface of the landscape. GetMaterial GBackSolid GetPathLength PathFree Apfelclonk2014-04