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


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


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


| Enable / disable [[Post process effects]] |DESCRIPTION=
| Enable / disable [[Post process effects]]


| effect [[ppEffectEnable]] enable |SYNTAX=
| effect [[ppEffectEnable]] enable


|p1= effect: [[String]] - name of the effect |PARAMETER1=
|p1= effect: [[String]] - name of the effect


|p2= enable: [[Boolean]] |PARAMETER2=
|p2= enable: [[Boolean]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|s2= effect [[ppEffectEnable]] enable |SYNTAX2=
|s2= effect [[ppEffectEnable]] enable


|p21= effect: [[Number]] - handle of the effect |PARAMETER21=
|p21= effect: [[Number]] - handle of the effect |PARAMETER21=
Line 23: Line 23:
|p22= enable: [[Boolean]] |PARAMETER22=
|p22= enable: [[Boolean]] |PARAMETER22=


|r2= [[Nothing]] |RETURNVALUE2=
|r2= [[Nothing]]


|s3= effectArray [[ppEffectEnable]] enable |SYNTAX3=
|s3= effectArray [[ppEffectEnable]] enable


|p41= effectArray: [[Array]] of [[Number]]s - array of effect handles |PARAMETER41=
|p41= effectArray: [[Array]] of [[Number]]s - array of effect handles |PARAMETER41=
Line 31: Line 31:
|p42= enable: [[Boolean]] |PARAMETER42=
|p42= enable: [[Boolean]] |PARAMETER42=


|r3= [[Nothing]] |RETURNVALUE3=
|r3= [[Nothing]]


|x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code> |EXAMPLE1=
|x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code>


|x2= <code>_hndl [[ppEffectEnable]] [[true]];</code>|EXAMPLE2=
|x2= <code>_hndl [[ppEffectEnable]] [[true]];</code>


|x3= <code>[_hndl1, _hndl2] [[ppEffectEnable]] [[true]];</code>|EXAMPLE3=
|x3= <code>[_hndl1, _hndl2] [[ppEffectEnable]] [[true]];</code>


| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectEnabled]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]] |SEEALSO=
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectEnabled]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]]


| |MPBEHAVIOUR=
| |MPBEHAVIOUR=

Revision as of 01:26, 18 January 2021

Hover & click on the images for description

Description

Description:
Enable / disable Post process effects
Groups:
Camera Control

Syntax 1

Syntax:
effect ppEffectEnable enable
Parameters:
effect: String - name of the effect
enable: Boolean
Return Value:
Nothing

Syntax 2

Syntax:
effect ppEffectEnable enable
Parameters:
effect: Number - handle of the effect
enable: Boolean
Return Value:
Nothing

Syntax 3

Syntax:
effectArray ppEffectEnable enable
Parameters:
effectArray: Array of Numbers - array of effect handles
enable: Boolean
Return Value:
Nothing

Examples

Example 1:
"colorCorrections" ppEffectEnable true;
Example 2:
_hndl ppEffectEnable true;
Example 3:
[_hndl1, _hndl2] ppEffectEnable true;

Additional Information

See also:
Post process effectsppEffectForceInNVGppEffectDestroyppEffectCreateppEffectEnabledppEffectCommitppEffectCommittedppEffectAdjust

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