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

◆ SetOptics()

void DayZPlayer::SetOptics ( bool value)
inlineprotected

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

403 {
404 m_CameraOptics = value;
405
406 if (value)
407 {
408 HumanCommandWeapons hcw = GetCommandModifier_Weapons();
409 if (hcw)
411
412 HumanInputController hic = GetInputController();
413 if (hic)
415 }
416 }
bool m_CameraOptics
Определения DayZPlayerImplement.c:140
bool IsHandheldOpticsInUse()
Определения DayZPlayerImplement.c:3869
proto native void SetADS(bool pState)
sets head tilt to optics
proto native void ResetFreeLookToggle()
reset freelook toggle
void HumanCommandWeapons()
Определения human.c:1126

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

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