setCamShakeDefParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= |p3=" to "|Parameter2= |p3=")
m (Text replacement - "|= |p2=" to "|Parameter1= |p2=")
Line 12: Line 12:
| '''setCamShakeDefParams''' [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef] |SYNTAX=
| '''setCamShakeDefParams''' [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef] |SYNTAX=


|p1= power: [[Number]] |=  
|p1= power: [[Number]] |Parameter1=
 
|p2= duration: [[Number]] |Parameter2=
|p2= duration: [[Number]] |Parameter2=



Revision as of 04:08, 3 September 2019

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.