setCamShakeDefParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:ArmA 2 OA: New Scripting Commands List" to "[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List")
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
Line 44: Line 44:


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 14:49, 10 January 2020

Hover & click on the images for description

Description

Description:
Sets camera shake default params, the default camshake when, for example, you freelook at your character shooting a 12.7mm sniper rifle or firing tank cannon. Would also work in 1st person.
Groups:
Uncategorised

Syntax

Syntax:
setCamShakeDefParams [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef]
Parameters:
power: Number
duration: Number
frequency: Number
minSpeed: Number
minMass: Number
caliberCoefHit: Number
vehicleCoef: Number
Return Value:
Nothing

Examples

Example 1:
setCamShakeDefParams [1, 2, 3, 4, 5, .5, .5];
Example 2:
setCamShakeDefParams [100, 10, 10, 4, 5, 1, 1];

Additional Information

See also:
enableCamShakeaddCamShakesetCamShakeParamsresetCamShake

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on December 1, 2014 - 03:35 (UTC)
Waffle SS.
Doesn't appear to have any effect in ArmA 3.