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

◆ HideWhenClose()

vector Hologram::HideWhenClose ( vector pos)
inlineprotected

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

1433 {
1434 //if the hologram is too close to player when he looks to the sky, send the projection to away
1435 vector cam_dir = GetGame().GetCurrentCameraDirection();
1436
1437 if( cam_dir[1] > LOOKING_TO_SKY )
1438 {
1439 pos = "0 0 0";
1440 }
1441
1442 return pos;
1443 }
proto native vector GetCurrentCameraDirection()
const float LOOKING_TO_SKY
Определения Hologram.c:51
proto native CGame GetGame()

Перекрестные ссылки CGame::GetCurrentCameraDirection(), GetGame() и LOOKING_TO_SKY.

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