ppEffectEnable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added to "see also")
(alt syntax)
Line 12: Line 12:
| effect '''ppEffectEnable''' enable |= Syntax
| effect '''ppEffectEnable''' enable |= Syntax


|p1= effect: [[String]] or [[Number]] - where string is effect name or number is ppEffect handle. |= PARAMETER1  
|p1= effect: [[String]] - name of the effect |= PARAMETER1  


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


| Nothing |= RETURNVALUE  
| Nothing |= RETURNVALUE  
| s2= effect '''ppEffectEnable''' enable |= Syntax
|p21= effect: [[Number]] - handle of the effect |= PARAMETER1
|p22= enable: [[Boolean]] |= PARAMETER2
|p23= |= PARAMETER3
| r2= Nothing |= RETURNVALUE
| s3= effect '''ppEffectEnable''' enable |= Syntax
|p41= effect: [[Array]] - array of effect handles |= PARAMETER1
|p42= enable: [[Boolean]] |= PARAMETER2
|p43= |= PARAMETER3
| r3= Nothing |= RETURNVALUE




|x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code>|= EXAMPLE1  
|x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code>|= EXAMPLE1  
|x2= <code>_hndl [[ppEffectEnable]] [[true]];</code>|= EXAMPLE1
|x3= <code>[_hndl1, _hndl2] [[ppEffectEnable]] [[true]];</code>|= EXAMPLE1


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 20:52, 16 August 2015

Hover & click on the images for description

Description

Description:
Enable / disable Post process effects
Groups:
Uncategorised

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:
effect ppEffectEnable enable
Parameters:
effect: Array - 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 effectsppEffectForceInNVGppEffectDestroyppEffectCreateppEffectCommitppEffectCommittedppEffectAdjust

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