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 - ">Posted on December ([0-9]{1})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-12-0$1")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.50


|1.51|Game version=
|game2= tkoh
|version2= 1.00


|gr1 = Camera Control |GROUP1=
|game3= arma3
|version3= 0.50


| 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=
|gr1= Camera Control


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


|p1= power: [[Number]] |Parameter1=
|descr= Sets camera shake default parameters.


|p2= duration: [[Number]] |Parameter2=
|s1= [[setCamShakeDefParams]] [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef]


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


| [[Nothing]] |RETURNVALUE=
|p2= duration: [[Number]]


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


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


| [[enableCamShake]], [[addCamShake]], [[setCamShakeParams]], [[resetCamShake]] |SEEALSO=
|p5= minMass: [[Number]]


}}
|p6= caliberCoefHit: [[Number]]
 
|p7= vehicleCoef: [[Number]]
 
|r1= [[Nothing]]


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


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|x2= <sqf>setCamShakeDefParams [100, 10, 10, 4, 5, 1, 1];</sqf>
{{GameCategory|arma2|Scripting Commands}}
 
{{GameCategory|arma3|Scripting Commands}}
|seealso= [[enableCamShake]] [[addCamShake]] [[setCamShakeParams]] [[resetCamShake]]
{{GameCategory|tkoh|Scripting Commands}}
}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dd class="notedate">Posted on December 1, 2014 - 03:35 (UTC)</dd>
 
<dt></dt>
<dd class="notedate">Posted on 2014-12-01 - 03:35 (UTC)</dd>
<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>
<!-- DISCONTINUE Notes -->

Latest revision as of 23:13, 13 May 2023

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