setCamShakeDefParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2oa |Game name= | | arma2oa |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Camera Control |GROUP1= | |gr1 = Camera Control |GROUP1= | ||
| 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. |DESCRIPTION= | ||
| '''setCamShakeDefParams''' [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef] |SYNTAX= | | '''setCamShakeDefParams''' [power, duration, frequency, minSpeed, minMass, caliberCoefHit, vehicleCoef] |SYNTAX= | ||
Line 25: | Line 22: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[setCamShakeDefParams]] [1, 2, 3, 4, 5, .5, .5];</code> |Example1= | |x1= <code>[[setCamShakeDefParams]] [1, 2, 3, 4, 5, .5, .5];</code> |Example1= | ||
|x2= <code>[[setCamShakeDefParams]] [100, 10, 10, 4, 5, 1, 1];</code> |EXAMPLE2= | |x2= <code>[[setCamShakeDefParams]] [100, 10, 10, 4, 5, 1, 1];</code> |EXAMPLE2= | ||
| [[enableCamShake]], [[addCamShake]], [[setCamShakeParams]], [[resetCamShake]] |SEEALSO= | | [[enableCamShake]], [[addCamShake]], [[setCamShakeParams]], [[resetCamShake]] |SEEALSO= |
Revision as of 02:29, 17 January 2021
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
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.
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.51
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Camera Control
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 2: Operation Arrowhead: New Scripting Commands List