ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Post process effects" to "Post Process Effects")
m (Text replacement - "[[Post process effects" to "[[Post Process Effects")
Line 15: Line 15:
|gr1= Camera Control
|gr1= Camera Control


|descr= Check whether given [[Post process effects|post process effect]] is committed.
|descr= Check whether given [[Post Process Effects|post process effect]] is committed.


|s1= [[ppEffectCommitted]] effect
|s1= [[ppEffectCommitted]] effect

Revision as of 00:25, 13 July 2022

Hover & click on the images for description

Description

Description:
Check whether given post process effect is committed.
Groups:
Camera Control

Syntax

Syntax:
ppEffectCommitted effect
Parameters:
effect: String - Effect name
Return Value:
Boolean

Alternative Syntax

Syntax:
ppEffectCommitted handle
Parameters:
handle: Number - Effect handle
Return Value:
Boolean

Examples

Example 1:
ppEffectCommitted "colorCorrection";
Example 2:
ppEffectCommitted _hndl;
Example 3:
if (ppEffectCommitted "colorCorrection") then { hint "alteration done !" };

Additional Information

See also:
Post Process Effects ppEffectForceInNVG ppEffectEnable ppEffectDestroy ppEffectCreate ppEffectCommit ppEffectAdjust

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