enableCamShake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " 1.51" to " 1.50")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(4 intermediate revisions by the same user not shown)
Line 19: Line 19:
|s1= [[enableCamShake]]  value
|s1= [[enableCamShake]]  value


|p1= value: [[Boolean]] - If [[true]], shake effects are visible
|p1= value: [[Boolean]] - if [[true]], shake effects are visible


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[enableCamShake]] [[false]];</code>
|x1= <sqf>enableCamShake false;</sqf>


|seealso= [[addCamShake]], [[setCamShakeDefParams]], [[setCamShakeParams]], [[resetCamShake]]
|seealso= [[addCamShake]] [[setCamShakeDefParams]] [[setCamShakeParams]] [[resetCamShake]]
}}
}}

Latest revision as of 15:33, 8 November 2023

Hover & click on the images for description

Description

Description:
Allows camera shake effects via addCamShake. If set to false, then a currently active shake effect will stop immediately. By default, shake effects are enabled, but once they have been disabled by this command, they will have to be enabled first, in order to be visible.
Groups:
Camera Control

Syntax

Syntax:
enableCamShake value
Parameters:
value: Boolean - if true, shake effects are visible
Return Value:
Nothing

Examples

Example 1:
enableCamShake false;

Additional Information

See also:
addCamShake setCamShakeDefParams 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