ppEffectCommit: 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 43: Line 43:
|x1= <code>"colorCorrection" [[ppEffectCommit]] 3;</code>|EXAMPLE1=  
|x1= <code>"colorCorrection" [[ppEffectCommit]] 3;</code>|EXAMPLE1=  
|x2=|EXAMPLE2=
|x2=|EXAMPLE2=
|x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>|EXAMPLE1=  
|x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>|EXAMPLE3=  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 20:03, 24 September 2020

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