setCamShakeDefParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2;</sqf>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 34: Line 34:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[setCamShakeDefParams]] [1, 2, 3, 4, 5, .5, .5];</code>
|x1= <code>setCamShakeDefParams [1, 2, 3, 4, 5, .5, .5];</code>


|x2= <sqf>setCamShakeDefParams [100, 10, 10, 4, 5, 1, 1];</sqf>
|x2= <sqf>setCamShakeDefParams [100, 10, 10, 4, 5, 1, 1];</sqf>

Revision as of 11:13, 12 May 2022

Hover & click on the images for description

Description

Description:
Sets camera shake default parameters.
Groups:
Camera Control

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:
enableCamShake addCamShake setCamShakeParams resetCamShake

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
Posted on December 1, 2014 - 03:35 (UTC)
Waffle SS.
Does not appear to have an effect in Arma 3.