ppEffectCommitted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(alt syntax)
m (template:command argument fix)
Line 12: Line 12:
| '''ppEffectCommitted''' effect |= Syntax
| '''ppEffectCommitted''' effect |= Syntax


|p1= effect: [[String]] - effect name |= PARAMETER1
|p1= effect: [[String]] - effect name |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Boolean]] |= RETURNVALUE
| [[Boolean]] |RETURNVALUE=  


| s2='''ppEffectCommitted''' effect |= Syntax
| s2='''ppEffectCommitted''' effect |= Syntax


|p21= effect: [[Number]] - effect handle |= PARAMETER1
|p21= effect: [[Number]] - effect handle |PARAMETER1=  


|p22= |= PARAMETER2
|p22= |PARAMETER2=  


|p23= |= PARAMETER3
|p23= |PARAMETER3=  


| r2= [[Boolean]] |= RETURNVALUE
| r2= [[Boolean]] |RETURNVALUE=  


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


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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[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 10:35, 7 April 2019

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 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