{"name":"setCamShakeParams","title":"setCamShakeParams","type":"command","url":"https://community.bistudio.com/wiki/setCamShakeParams","revid":364174,"updated":"2024-05-05T10:46:45Z","groups":["Camera Control"],"status":"ok","games":{"arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2oa 1.50","arma3_since":"0.50","locality":{"effect":"local"},"description":"Sets camera shake parameters. Will not have any effect until shake is started via addCamShake.","syntaxes":[{"syntax":"setCamShakeParams [posCoef, vertCoef, horzCoef, bankCoef, interpolation]","params":[{"name":"posCoef","type":"Number","description":"strength of positional movement (how far the whole position can change in X,Y&Z). Should not be bigger than **0.1** to prevent the camera from moving into or behind the player","type_expr":"Number"},{"name":"vertCoef","type":"Number","description":"strength of vertical camera pan (up/down), practical range: 0..10","type_expr":"Number"},{"name":"horzCoef","type":"Number","description":"strength of horizontal camera pan (left/right), practical range: 0..10","type_expr":"Number"},{"name":"bankCoef","type":"Number","description":"strength of camera tilt/bank, practical range: 0..20","type_expr":"Number"},{"name":"interpolation","type":"Boolean","description":"if true, then transitions in the different shaking directions will be smoother","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[posCoef, vertCoef, horzCoef, bankCoef, interpolation]"}}],"examples":[{"code":["setCamShakeParams [0.1, 1, 1, 1, true];"]}],"see_also":["setCamShakeDefParams","addCamShake","enableCamShake","resetCamShake"]}