ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
Line 17: Line 17:
|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


|p1= effect: [[String]] - Effect name
|p1= effect: [[String]] - Effect name
Line 23: Line 23:
|r1= [[Boolean]]
|r1= [[Boolean]]


|s2= '''ppEffectCommitted''' handle
|s2= [[ppEffectCommitted]] handle


|p21= handle: [[Number]] - Effect handle
|p21= handle: [[Number]] - Effect handle

Revision as of 18:12, 20 June 2021

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 effectsppEffectForceInNVGppEffectEnableppEffectDestroyppEffectCreateppEffectCommitppEffectAdjust

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