ppEffectCommit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
m (Text replacement - "[[Post process effects" to "[[Post Process Effects")
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 15: Line 15:
|gr1= Camera Control
|gr1= Camera Control


| Commit [[Post process effects|post process effect]] in given time.
|descr= Commit [[Post Process Effects|post process effect]] in given time.


| effect '''ppEffectCommit''' commit
|s1= effect [[ppEffectCommit]] commit


|p1= effect: [[String]] - name of the effect
|p1= effect: [[String]] - name of the effect
Line 25: Line 25:
|r1= [[Nothing]]
|r1= [[Nothing]]


|s2= handle '''ppEffectCommit''' commit
|s2= handle [[ppEffectCommit]] commit


|p21= handle: [[Number]] - handle of the effect
|p21= handle: [[Number]] - handle of the effect
Line 33: Line 33:
|r2= [[Nothing]]
|r2= [[Nothing]]


|s3= handles '''ppEffectCommit''' commit
|s3= handles [[ppEffectCommit]] commit


|p41= handles: [[Array]] of [[Number]]s - list of handles
|p41= handles: [[Array]] of [[Number]]s - list of handles
Line 41: Line 41:
|r3= [[Nothing]]
|r3= [[Nothing]]


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


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


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


|seealso= [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectEnabled]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommitted]], [[ppEffectAdjust]]
|seealso= [[Post Process Effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectEnabled]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommitted]] [[ppEffectAdjust]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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