Arma 3 Scripting

Command in Camera Control

addCamShake

Also available as Markdown and JSON, or read the original wiki page.

Description

Creates the camera shaking effect, like when you are near an explosion

Syntax

addCamShake [power, duration, frequency]

Parameters:

Returns: Nothing

Examples

Example 1

addCamShake [10, 2, 25]; // Shakes the camera for 1 second

Example 2

enableCamShake true;
addCamShake [5, 5, 25];

See also

enableCamShake · setCamShakeDefParams · setCamShakeParams · resetCamShake