{"name":"setCameraInterest","operator":null,"title":"setCameraInterest","type":"command","url":"https://community.bistudio.com/wiki/setCameraInterest","revid":310118,"updated":"2022-05-05T12:25:32Z","groups":["Camera Control"],"status":"ok","replaced_by":[],"games":[{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Set camera interest for given entity. Camera interest is by default 0. Any unit which is speaking has its camera interest raised to 50. Camera interest is used to focus camera to control depth of field in cutscenes. Combination of camera interest, unit position of the screen, unit movement, unit type, and some other properties is used to determine which unit to focus at. Higher camera interest increases the chance of the unit being focused.","syntaxes":[{"syntax":"entity setCameraInterest interest","since":null,"effect":null,"exec":null,"params":[{"name":"entity","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"entity: Object"},{"name":"interest","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"interest: Number"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"entity","types":["Object"]},"right":{"text":"interest","types":["Number"]}}],"examples":[{"text":"```sqf\n_soldier setCameraInterest 50;\n```","code":["_soldier setCameraInterest 50;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["cameraInterest"],"notes":[],"categories":[]}