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

◆ SetOptics()

void DayZPlayer::SetOptics ( bool value)
inlineprotected

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

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

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

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