ppEffectCommit: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| effect '''ppEffectCommit''' commit |= Syntax | | effect '''ppEffectCommit''' commit |= Syntax | ||
|p1= effect: [[String]] - name of the effect |= | |p1= effect: [[String]] - name of the effect |PARAMETER1= | ||
|p2= commit: [[Number]] - duration |= | |p2= commit: [[Number]] - duration |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
| s2= effect '''ppEffectCommit''' commit |= Syntax | | s2= effect '''ppEffectCommit''' commit |= Syntax | ||
|p21= effect: [[Number]] - handle of the effect |= | |p21= effect: [[Number]] - handle of the effect |PARAMETER1= | ||
|p22= commit: [[Number]] - duration |= | |p22= commit: [[Number]] - duration |PARAMETER2= | ||
|p23= |= | |p23= |PARAMETER3= | ||
| r2= [[Nothing]] |= | | r2= [[Nothing]] |RETURNVALUE= | ||
| s3= [effect1,...] '''ppEffectCommit''' commit |= Syntax | | s3= [effect1,...] '''ppEffectCommit''' commit |= Syntax | ||
|p41= [effect1,...]: [[Array]] - array of effect handles |= | |p41= [effect1,...]: [[Array]] - array of effect handles |PARAMETER1= | ||
|p42= effect1: [[Number]] - handle of the effect |= | |p42= effect1: [[Number]] - handle of the effect |PARAMETER2= | ||
|p43= commit: [[Number]] - duration |= | |p43= commit: [[Number]] - duration |PARAMETER3= | ||
| r3= [[Nothing]] |= | | r3= [[Nothing]] |RETURNVALUE= | ||
|x1= <code>"colorCorrection" [[ppEffectCommit]] 3;</code>|= | |x1= <code>"colorCorrection" [[ppEffectCommit]] 3;</code>|EXAMPLE1= | ||
|x2= <code>_hndl [[ppEffectCommit]] 3;</code>|= | |x2= <code>_hndl [[ppEffectCommit]] 3;</code>|EXAMPLE1= | ||
|x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>|= | |x3= <code>[_hndl1, _hndl2] [[ppEffectCommit]] 3;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectEnabled]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommitted]], [[ppEffectAdjust]] |= | | [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectEnabled]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommitted]], [[ppEffectAdjust]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:35, 7 April 2019
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