Page MenuHomeFeedback Tracker

[Splendid Camera] error in fn_camera.sqf
Need More Info, NormalPublic


Whenever I use the splendid camera while previewing a mission from the Eden editor I receive the following script error.

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


Operating System
Windows 10 x64
Steps To Reproduce
  1. Go into the Eden editor
  2. Place down a unit.
  3. Hit preview.
  4. Hit the Esc key and select Camera from the debug console.
  5. Notice the black box displaying the error.

Event Timeline

Jawsh added a subscriber: Jawsh.Oct 18 2016, 5:01 AM

I cannot reproduce this error using the steps described above.

@Rebel12340, could you verify the integrity of the game cache and try again?

Version: 1.64.138732

razazel claimed this task.Oct 18 2016, 10:29 AM
razazel changed the task status from New to Need More Info.
razazel added a subscriber: razazel.

Please try to verify the integrity of the game cache as suggested by @Jawsh and let us know whether this has resolved the issue.


Unfortunately, verifying the game cache did not resolve the issue.

@Rebel12340, are you on the stable/main branch or development branch?

I am currently on the stable/main branch.

Likewise, yet I tried again and still cannot reproduce this error.

Does this error occur every time the Spendid Camera is launched while previewing in the Eden Editor?

Does this error occur when launching it outside of Eden (I.e. game mode with the debug console enabled)?

Yes, this occurs every time I launch the Splendid camera while previewing in the Eden editor.
When I use the Splendid camera outside of the editor (in multiplayer LAN game, for instance), it doesn't show the script error in game as it does in the Eden editor, however it does spam the error message repeatedly in the RPT file.

Rebel12340 added a comment.EditedOct 19 2016, 7:29 AM

I have discovered the issue. I had the controls for for the Camera bound to a controller. It seems that doing this causes the script error. Removing the controller from the assigned keys solved the issue.

Can confirm the issue. It is related to joystick controls. I wanted to use a joystick to control the splendid cam. After assigning the controls and calling the splendid cam, the top error occurs.

Thanks, was wondering what was causing this error, I tried digging for the file line, but couldn't find anything.