enableCamShake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Camera Control |GROUP1= ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.50


|1.51|Game version=
|game2= tkoh
|version2= 1.00


|gr1 = Camera Control |GROUP1=
|game3= arma3
|version3= 0.50


|eff= local


____________________________________________________________________________________________
|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. |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=
|s1= [[enableCamShake]]  value


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


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


| [[addCamShake]], [[setCamShakeDefParams]], [[setCamShakeParams]], [[resetCamShake]] |SEEALSO=
|x1= <sqf>enableCamShake false;</sqf>


|seealso= [[addCamShake]] [[setCamShakeDefParams]] [[setCamShakeParams]] [[resetCamShake]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Camera Control|enableCamShake]]

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