ppEffectCommit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


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


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


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


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


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


|p3= |PARAMETER3=  
|p3=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


| s2= handle '''ppEffectCommit''' commit |SYNTAX2=
| s2= handle '''ppEffectCommit''' commit


|p21= handle: [[Number]] - handle of the effect |PARAMETER21=
|p21= handle: [[Number]] - handle of the effect |PARAMETER21=
Line 27: Line 27:
|p23= |PARAMETER23=  
|p23= |PARAMETER23=  


|r2= [[Nothing]] |RETURNVALUE2=
|r2= [[Nothing]]


|s3= handles '''ppEffectCommit''' commit |SYNTAX3=
|s3= handles '''ppEffectCommit''' commit


|p42= handles: [[Array]] of [[Number]]s - list of handles |PARAMETER42=  
|p42= handles: [[Array]] of [[Number]]s - list of handles |PARAMETER42=  
Line 35: Line 35:
|p43= commit: [[Number]] - duration |PARAMETER43=
|p43= commit: [[Number]] - duration |PARAMETER43=


|r3= [[Nothing]] |RETURNVALUE3=
|r3= [[Nothing]]


|x1= <code>"colorCorrection" [[ppEffectCommit]] 3;</code>|EXAMPLE1=
|x1= <code>"colorCorrection" [[ppEffectCommit]] 3;</code>


|x2= <code>_hndl [[ppEffectCommit]] 3;</code>|EXAMPLE2=
|x2= <code>_hndl [[ppEffectCommit]] 3;</code>


|x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>|EXAMPLE3=
|x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>




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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 02:29, 18 January 2021

Hover & click on the images for description

Description

Description:
Commit post process effect in given time.
Groups:
Camera Control

Syntax 1

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

Syntax 2

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

Syntax 3

Syntax:
handles ppEffectCommit commit
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