ppEffectCommit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "[[Post process effects" to "[[Post Process Effects")
 
(51 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|= Game version
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Commit [[Post process effects|post process effect]] in given time. |= Description
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| effect '''ppEffectCommit''' commit |= Syntax
|game4= arma3
|version4= 0.50


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


|p2= commit: [[Number]] - duration |= PARAMETER2
|descr= Commit [[Post Process Effects|post process effect]] in given time.


|p3= |= PARAMETER3
|s1= effect [[ppEffectCommit]] commit


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


| s2= effect '''ppEffectCommit''' commit |= Syntax
|p2= commit: [[Number]] - duration


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


|p22= commit: [[Number]] - duration |= PARAMETER2
|s2= handle [[ppEffectCommit]] commit


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


| r2= [[Nothing]] |= RETURNVALUE
|p22= commit: [[Number]] - duration


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


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


|p42= effect1: [[Number]] - handle of the effect |= PARAMETER2
|p41= handles: [[Array]] of [[Number]]s - list of handles


|p43= commit: [[Number]] - duration |= PARAMETER3
|p42= commit: [[Number]] - duration


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


|x1= <sqf>"colorCorrection" ppEffectCommit 3;</sqf>


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


____________________________________________________________________________________________
|x3= <sqf>[_hndl1, _hndl2] ppEffectCommit 3;</sqf>


| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommitted]], [[ppEffectAdjust]] |= SEEALSO
|seealso= [[Post Process Effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectEnabled]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommitted]] [[ppEffectAdjust]]
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:25, 12 July 2022

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
Parameters:
handles: Array of Numbers - list of handles
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 Effects ppEffectForceInNVG ppEffectEnable ppEffectEnabled ppEffectDestroy ppEffectCreate ppEffectCommitted ppEffectAdjust

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