setCamShakeDefParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets camera shake default params. |= 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 |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 24: Line 24:


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



Revision as of 20:47, 23 August 2013

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
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