|
private |
Translates world coordinates to a grid coordinates(map grid)
| pos | |
| size | of grid in meters |
| x | grid position result [out] |
| z | grid position result [out] int x,z;
Icon x proto native World GetWorld() proto void GetGridCoords(vector pos, float gridSize, out int gridX, out int gridZ) Translates world coordinates to a grid coordinates(map grid) proto native CGame GetGame() |
Используется в OrderedPositionNumbersFromGridCoords().