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

◆ SetOptics()

void DayZPlayer::SetOptics ( bool value)
inlineprotected

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

381 {
382 m_CameraOptics = value;
383
384 if (value)
385 {
386 HumanCommandWeapons hcw = GetCommandModifier_Weapons();
387 if (hcw)
389
390 HumanInputController hic = GetInputController();
391 if (hic)
393 }
394 }
bool m_CameraOptics
Определения DayZPlayerImplement.c:116
bool IsHandheldOpticsInUse()
Определения DayZPlayerImplement.c:3852
proto native void SetADS(bool pState)
sets head tilt to optics
proto native void ResetFreeLookToggle()
reset freelook toggle
void HumanCommandWeapons()
Определения human.c:1128

Перекрестные ссылки IsHandheldOpticsInUse(), m_CameraOptics, HumanInputController::ResetFreeLookToggle() и HumanCommandWeapons::SetADS().

Используется в DayZPlayerImplement(), ExitSights() и SwitchOptics().