enableCamShake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2oa |Game name=
| arma2oa


|1.51|Game version=
|1.51


|gr1 = Camera Control |GROUP1=
|gr1 = Camera Control


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


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[[enableCamShake]] [[false]];</code> |EXAMPLE1=
|x1= <code>[[enableCamShake]] [[false]];</code>


| [[addCamShake]], [[setCamShakeDefParams]], [[setCamShakeParams]], [[resetCamShake]] |SEEALSO=
| [[addCamShake]], [[setCamShakeDefParams]], [[setCamShakeParams]], [[resetCamShake]]


}}
}}

Revision as of 00:35, 18 January 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, then 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

Notes

Bottom Section