где то встречал инфу что команда приводит к частым крашам и перегрузке оперативке на компе. так ли это?
И если не сложно объясните чем точечно координатная копалка лучше такой выборки тайлов:
Code: Sub MiningTiles(X,Y) var i if UO.PrivateGetTile(X, Y, -1, 616, 618) then for i=616 to 618 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 1339, 1363) then for i=1339 to 1363 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 2272, 2282) then for i=2272 to 2282 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 4963, 4973) then for i=4963 to 4973 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 6001, 6012) then for i=6001 to 6012 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 13121, 13369) then for i=13121 to 13369 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 13446, 13455) then for i=13446 to 13455 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 13484, 13492) then for i=13484 to 13492 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if if UO.PrivateGetTile(X, Y, -1, 13625, 13628) then for i=13625 to 13628 if UO.PrivateGetTile(X, Y, -1, i, i) then return i end if next end if return 0; No Mining Tiles end sub
|