DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetGridCoords()

proto void World::GetGridCoords ( vector pos,
float gridSize,
out int gridX,
out int gridZ )
private

Translates world coordinates to a grid coordinates(map grid)

Аргументы
pos
sizeof grid in meters
xgrid position result [out]
zgrid position result [out]
int x,z;
g_Game.GetWorld().GetGridCoords(g_Game.GetPlayer().GetPosition(), 100, x, z);
DayZGame g_Game
Определения DayZGame.c:3942
Icon x