addCamShake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>addCamShake [0.01, 3, 2]</pre> |= Example 1
|x1= <pre>addCamShake [10, 1, 25]</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setCamShakeDefParams]], [[setCamShakeParams]] |= See also
| [[enableCamShake]], [[setCamShakeDefParams]], [[setCamShakeParams]] |= See also


}}
}}

Revision as of 21:56, 21 September 2010

Hover & click on the images for description

Description

Description:
Creates the camera shaking effect, like when you are near an explosion
Groups:
Uncategorised

Syntax

Syntax:
addCamShake [power, duration, frequency]
Parameters:
power: Number - how strong the camera movement will be
duration: Number - how long the effect will last
frequency: Number - how will be the rhythm
Return Value:
Nothing

Examples

Example 1:
addCamShake [10, 1, 25]

Additional Information

See also:
enableCamShakesetCamShakeDefParamssetCamShakeParams

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