ppEffectCommit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Commit [[Post process effects|post process effect]] in given time. |= Description
| Commit [[Post process effects|post process effect]] in given time. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| effect '''ppEffectCommit''' commit |= Syntax
| effect '''ppEffectCommit''' commit |SYNTAX=


|p1= effect: [[String]] - name of the effect |PARAMETER1=  
|p1= effect: [[String]] - name of the effect |PARAMETER1=  
Line 20: Line 20:
| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


| s2= effect '''ppEffectCommit''' commit |= Syntax
| s2= effect '''ppEffectCommit''' commit |SYNTAX=


|p21= effect: [[Number]] - handle of the effect |PARAMETER1=  
|p21= effect: [[Number]] - handle of the effect |PARAMETER1=  
Line 30: Line 30:
| r2= [[Nothing]] |RETURNVALUE=
| r2= [[Nothing]] |RETURNVALUE=


| s3= [effect1,...] '''ppEffectCommit''' commit |= Syntax
| s3= [effect1,...] '''ppEffectCommit''' commit |SYNTAX=


|p41= [effect1,...]: [[Array]] - array of effect handles |PARAMETER1=  
|p41= [effect1,...]: [[Array]] - array of effect handles |PARAMETER1=  

Revision as of 15:44, 7 April 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