ppEffectCommit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| ?r2=(.*)\|RETURNVALUE= *" to " |r2=(.*)|RETURNVALUE2=")
m (Fix bad regex effects)
Tag: Undo
Line 20: Line 20:
| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


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


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


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


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


|r2=(.*)|RETURNVALUE2=
|r2= [[Nothing]] |RETURNVALUE2=


| s3= [effect1,...] '''ppEffectCommit''' commit |SYNTAX3=
|s3= handles '''ppEffectCommit''' commit |SYNTAX3=


|p41= [effect1,...]: [[Array]] - array of effect handles |PARAMETER1=  
|p42= handles: [[Array]] of [[Number]]s - list of handles |PARAMETER42=  


|p42= effect1: [[Number]] - handle of the effect |PARAMETER2=  
|p43= commit: [[Number]] - duration |PARAMETER43=


|p43= commit: [[Number]] - duration |PARAMETER3=  
|r3= [[Nothing]] |RETURNVALUE3=


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


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


|x1= <code>"colorCorrection" [[ppEffectCommit]] 3;</code>|EXAMPLE1=
|x2=|EXAMPLE2=
|x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>|EXAMPLE3=  
|x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>|EXAMPLE3=  


Line 62: Line 61:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>


[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 21:18, 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:
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