ppEffectEnable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


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


| s2= effect '''ppEffectEnable''' enable |= Syntax
| s2= effect '''ppEffectEnable''' enable |= Syntax
Line 28: Line 28:
|p23= |= PARAMETER3  
|p23= |= PARAMETER3  


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


| s3= effects '''ppEffectEnable''' enable |= Syntax
| s3= [effect1,...] '''ppEffectEnable''' enable |= Syntax


|p41= effects: [[Array]] - array of effect handles |= PARAMETER1  
|p41= [effect1,...]: [[Array]] - array of effect handles |= PARAMETER1  


|p42= enable: [[Boolean]] |= PARAMETER2  
|p42= effect1: [[Number]] - handle of the effect |= PARAMETER2  


|p43= |= PARAMETER3  
|p43= enable: [[Boolean]] |= PARAMETER3  


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





Revision as of 20:55, 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:
[effect1,...] ppEffectEnable enable
Parameters:
[effect1,...]: Array - array of effect handles
effect1: Number - handle of the effect
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