ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|x2=.*\|EXAMPLE1= " to " |x2=$1|EXAMPLE2=")
m (Text replacement - " \|x3 ?=(.*)\|EXAMPLE1=" to " |x3=$1|EXAMPLE3=")
Line 33: Line 33:
|x2=|EXAMPLE2=
|x2=|EXAMPLE2=


|x3= <code>[[if]] ([[ppEffectCommitted]] "colorCorrection") [[then]] {[[hint]] "alteration done !"};</code>|EXAMPLE1=  
|x3= <code>[[if]] ([[ppEffectCommitted]] "colorCorrection") [[then]] {[[hint]] "alteration done !"};</code>|EXAMPLE3=  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 19:03, 24 September 2020

Hover & click on the images for description

Description

Description:
Check whether given post process effect is committed
Groups:
Uncategorised

Syntax

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

Alternative Syntax

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

Examples

Example 1:
ppEffectCommitted "colorCorrection";
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

Notes

Bottom Section