ppEffectEnable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


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


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


| effect [[ppEffectEnable]] enable |SYNTAX=
| effect [[ppEffectEnable]] enable |SYNTAX=
Line 19: Line 16:


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


|s2= effect [[ppEffectEnable]] enable |SYNTAX2=
|s2= effect [[ppEffectEnable]] enable |SYNTAX2=
Line 28: Line 24:


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


|s3= effectArray [[ppEffectEnable]] enable |SYNTAX3=
|s3= effectArray [[ppEffectEnable]] enable |SYNTAX3=
Line 37: Line 32:


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


|x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code> |EXAMPLE1=
|x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code> |EXAMPLE1=
Line 44: Line 38:


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


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

Revision as of 02:15, 17 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