ppEffectCommit: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")  | 
				Lou Montana (talk | contribs)  m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")  | 
				||
| Line 41: | Line 41: | ||
|r3= [[Nothing]]  | |r3= [[Nothing]]  | ||
|x1= <code>"colorCorrection"   | |x1= <code>"colorCorrection" ppEffectCommit 3;</code>  | ||
|x2= <sqf>_hndl ppEffectCommit 3;</sqf>  | |x2= <sqf>_hndl ppEffectCommit 3;</sqf>  | ||
|x3= <code>[_hndl1, _hndl2]   | |x3= <code>[_hndl1, _hndl2] ppEffectCommit 3;</code>  | ||
|seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectEnabled]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommitted]] [[ppEffectAdjust]]  | |seealso= [[Post process effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectEnabled]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommitted]] [[ppEffectAdjust]]  | ||
}}  | }}  | ||
Revision as of 11:12, 12 May 2022
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