Page MenuHomeFeedback Tracker

UpdateUDAngle not taking m_bForceFreeLook into account
Assigned, UrgentPublic

Description

When forcing freelook via script the current camera setup is listening on either engine input in the form of CameraIsFreeLook() from the HumanInputController or the script variable m_bForceFreeLook

For the function UpdateLRAngle this is correctly taken into account by checking for

if (m_pInput.CameraIsFreeLook() || m_bForceFreeLook)

On the function in question -> UpdateUDAngle this is unfortunately not the case. It is just checking for

if( m_pInput.CameraIsFreeLook() )

So you can not modify it via script using the existing function interface. I think / I hope this was simply a mistake and can be fixed by using the same condition as in UpdateLRAngle

Since ForceFreelook( bool ) is not actively used by vanilla scripts in the current DayZ version I think there is minimal to no risk to apply this change.

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General

Event Timeline

Geez changed the task status from New to Assigned.Feb 19 2020, 10:16 AM