ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - " \|x2=.*\|EXAMPLE1= " to " |x2=$1|EXAMPLE2=")
Line 31: Line 31:


|x1= <code>[[ppEffectCommitted]] "colorCorrection";</code>|EXAMPLE1=  
|x1= <code>[[ppEffectCommitted]] "colorCorrection";</code>|EXAMPLE1=  
|x2= <code>[[ppEffectCommitted]] _hndl;</code>|EXAMPLE1=  
|x2=|EXAMPLE2=


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

Revision as of 20:01, 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