ppEffectCommit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
m (Text replacement - "|PARAMETER1= |p22=" to "|PARAMETER21= |p22=")
Line 22: Line 22:
| s2= effect '''ppEffectCommit''' commit |SYNTAX2=
| s2= effect '''ppEffectCommit''' commit |SYNTAX2=


|p21= effect: [[Number]] - handle of the effect |PARAMETER1=  
|p21= effect: [[Number]] - handle of the effect |PARAMETER21=


|p22= commit: [[Number]] - duration |PARAMETER2=  
|p22= commit: [[Number]] - duration |PARAMETER2=  

Revision as of 20:37, 19 December 2019

Hover & click on the images for description

Description

Description:
Commit post process effect in given time.
Groups:
Uncategorised

Syntax 1

Syntax:
effect ppEffectCommit commit
Parameters:
effect: String - name of the effect
commit: Number - duration
Return Value:
Nothing

Syntax 2

Syntax:
effect ppEffectCommit commit
Parameters:
effect: Number - handle of the effect
commit: Number - duration
Return Value:
Nothing

Syntax 3

Syntax:
[effect1,...] ppEffectCommit commit
Parameters:
[effect1,...]: Array - array of effect handles
effect1: Number - handle of the effect
commit: Number - duration
Return Value:
Nothing

Examples

Example 1:
"colorCorrection" ppEffectCommit 3;
Example 2:
_hndl ppEffectCommit 3;
Example 3:
[_hndl1, _hndl2] ppEffectCommit 3;

Additional Information

See also:
Post process effectsppEffectForceInNVGppEffectEnableppEffectEnabledppEffectDestroyppEffectCreateppEffectCommittedppEffectAdjust

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