Page MenuHomeFeedback Tracker

Camera controls
New, NormalPublic

Description

Camera script generates an error when any action has keys on mouse (Not RMB/LMB) or with ctrl/alt/shift

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
1703
Category
Controls
Steps To Reproduce
  1. Add key on mouse (Not RMB/LMB) or with ctrl/alt/shift to any action of camera in controls settings
  2. Run camera script (Can use debug console)
Additional Information

The game is launched without mods, error in .rpt:

Error in expression <;
};
_isActive = {
{BIS_fnc_camera_keys select _x} count (actionkeys _this) > 0
>
Error position: <select _x} count (actionkeys _this) > 0
>
Error Zero divisor
File A3\functions_f\Debug\fn_camera.sqf [BIS_fnc_camera], line 490

Event Timeline

Feint added a subscriber: Feint.May 22 2017, 1:36 AM

I have this same issue on Windows 7-64. Very annoying. Is there a way to fix it? I have -showscripterrors turned on, so I can't use the in-game camera for making movies anymore unless I turn that off, and either way it spams the heck out of the .rpt file.