ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Camera Control |GROUP1=
|gr1= Camera Control |GROUP1=
____________________________________________________________________________________________


| Check whether given [[Post process effects|post process effect]] is committed |DESCRIPTION=
| Check whether given [[Post process effects|post process effect]] is committed |DESCRIPTION=
____________________________________________________________________________________________


| '''ppEffectCommitted''' effect |SYNTAX=
| '''ppEffectCommitted''' effect |SYNTAX=
Line 29: Line 26:


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


| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]] |SEEALSO=  
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:16, 17 January 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

Notes

Bottom Section