setCamShakeDefParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2oa
|game1= arma2oa


|1.51
|version1= 1.51
 
|game2= tkoh
 
|version2= 1.00
 
|game3= arma3
 
|version3= 0.50


|gr1= Camera Control
|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.
|eff= local
 
|descr= Sets camera shake default parameters.


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


|p1= power: [[Number]]
|p1= power: [[Number]]
Line 16: Line 26:


|p3= frequency: [[Number]]
|p3= frequency: [[Number]]
|p4= minSpeed: [[Number]]
|p4= minSpeed: [[Number]]
|p5= minMass: [[Number]]
|p5= minMass: [[Number]]
|p6= caliberCoefHit: [[Number]]
|p6= caliberCoefHit: [[Number]]
|p7= vehicleCoef: [[Number]]
|p7= vehicleCoef: [[Number]]


| [[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>
Line 30: Line 44:
}}
}}


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands|{{uc:{{PAGENAME}}}}]]


<dl class="command_description">
<dl class="command_description">
Line 42: Line 50:
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt>
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt>
<dd class="note">
<dd class="note">
Doesn't appear to have any effect in Arma 3.
Does not appear to have an effect in Arma 3.
</dd>
</dd>
</dl>
</dl>

Revision as of 17:44, 13 April 2021

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:
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.
Does not appear to have an effect in Arma 3.