enableCamShake: 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
 
|eff= local


|gr1= Camera Control
|gr1= Camera Control


| Allows camera shake effects via [[addCamShake]]. If set to [[false]], then a currently active shake effect will stop immediately.
|descr= 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.
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.


| '''enableCamShake''' value
|s1= '''enableCamShake''' value


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


| [[Nothing]]
|r1= [[Nothing]]
   
   
|x1= <code>[[enableCamShake]] [[false]];</code>
|x1= <code>[[enableCamShake]] [[false]];</code>
Line 20: Line 30:
|seealso= [[addCamShake]], [[setCamShakeDefParams]], [[setCamShakeParams]], [[resetCamShake]]
|seealso= [[addCamShake]], [[setCamShakeDefParams]], [[setCamShakeParams]], [[resetCamShake]]
}}
}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 17:41, 13 April 2021

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:
addCamShakesetCamShakeDefParamssetCamShakeParamsresetCamShake

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