setCamShakeDefParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2oa |Game name=
| arma2oa


|1.51|Game version=
|1.51


|gr1 = Camera Control |GROUP1=
|gr1 = Camera Control


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


| '''setCamShakeDefParams''' [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef] |SYNTAX=
| '''setCamShakeDefParams''' [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef]


|p1= power: [[Number]] |Parameter1=
|p1= power: [[Number]]


|p2= duration: [[Number]] |Parameter2=
|p2= duration: [[Number]]


|p3= frequency: [[Number]] |PARAMETER3=
|p3= frequency: [[Number]]
|p4= minSpeed: [[Number]] |PARAMETER4=
|p4= minSpeed: [[Number]]
|p5= minMass: [[Number]] |PARAMETER5=
|p5= minMass: [[Number]]
|p6= caliberCoefHit: [[Number]] |PARAMETER6=
|p6= caliberCoefHit: [[Number]]
|p7= vehicleCoef: [[Number]] |PARAMETER7=
|p7= vehicleCoef: [[Number]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


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


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


| [[enableCamShake]], [[addCamShake]], [[setCamShakeParams]], [[resetCamShake]] |SEEALSO=
| [[enableCamShake]], [[addCamShake]], [[setCamShakeParams]], [[resetCamShake]]


}}
}}

Revision as of 12:09, 18 January 2021

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