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

◆ HideWhenClose()

vector Hologram::HideWhenClose ( vector pos)
inlineprotected

См. определение в файле Hologram.c строка 1481

1482 {
1483 //if the hologram is too close to player when he looks to the sky, send the projection to away
1484 vector cam_dir = g_Game.GetCurrentCameraDirection();
1485
1486 if( cam_dir[1] > LOOKING_TO_SKY )
1487 {
1488 pos = "0 0 0";
1489 }
1490
1491 return pos;
1492 }
DayZGame g_Game
Определения DayZGame.c:3942
const float LOOKING_TO_SKY
Определения Hologram.c:51

Перекрестные ссылки g_Game и LOOKING_TO_SKY.

Используется в SetOnGround().