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

◆ SetOptics()

void DayZPlayer::SetOptics ( bool value)
inlineprotected

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

396 {
397 m_CameraOptics = value;
398
399 if (value)
400 {
401 HumanCommandWeapons hcw = GetCommandModifier_Weapons();
402 if (hcw)
404
405 HumanInputController hic = GetInputController();
406 if (hic)
408 }
409 }
bool m_CameraOptics
Определения DayZPlayerImplement.c:140
bool IsHandheldOpticsInUse()
Определения DayZPlayerImplement.c:3803
proto native void SetADS(bool pState)
sets head tilt to optics
proto native void ResetFreeLookToggle()
reset freelook toggle
void HumanCommandWeapons()
Определения human.c:1113

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

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