{"name":"enableCamShake","operator":null,"title":"enableCamShake","type":"command","url":"https://community.bistudio.com/wiki/enableCamShake","revid":348800,"updated":"2023-11-08T14:33:20Z","groups":["Camera Control"],"status":"ok","replaced_by":[],"games":[{"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":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Allows camera shake effects via addCamShake. If set to false, then a currently active shake effect will stop immediately.\nBy default, shake effects are enabled, but once they have been disabled by this command, they will have to be enabled first, in order to be visible.","syntaxes":[{"syntax":"enableCamShake value","since":null,"effect":null,"exec":null,"params":[{"name":"value","type":"Boolean","optional":false,"default":null,"description":"if true, shake effects are visible","types":["Boolean"],"since":null,"text":"value: Boolean - if true, shake effects are visible"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"value","types":["Boolean"]}}],"examples":[{"text":"```sqf\nenableCamShake false;\n```","code":["enableCamShake false;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["addCamShake","setCamShakeDefParams","setCamShakeParams","resetCamShake"],"notes":[],"categories":["Arma 2: Operation Arrowhead: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 3: Scripting Commands","Command Group: Camera Control","Introduced with Arma 2: Operation Arrowhead version 1.50","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}