ppEffectCommitted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *E([a-z])" to "$1 - e$2") |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1.00 | |game2= arma2oa | ||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Camera Control | |gr1= Camera Control | ||
| Check whether given [[Post | |descr= Check whether given [[Post Process Effects|post process effect]] is committed. | ||
| | |s1= [[ppEffectCommitted]] effect | ||
|p1= effect: [[String]] - effect name | |p1= effect: [[String]] - effect name | ||
| [[Boolean]] | |r1= [[Boolean]] | ||
|s2= | |s2= [[ppEffectCommitted]] handle | ||
|p21= handle: [[Number]] - effect handle | |p21= handle: [[Number]] - effect handle | ||
Line 21: | Line 29: | ||
|r2= [[Boolean]] | |r2= [[Boolean]] | ||
|x1= < | |x1= <sqf>ppEffectCommitted "colorCorrection";</sqf> | ||
| | |x2= <sqf>ppEffectCommitted _hndl;</sqf> | ||
| | |x3= <sqf>if (ppEffectCommitted "colorCorrection") then { hint "alteration done !" };</sqf> | ||
| | |seealso= [[Post Process Effects]] [[ppEffectForceInNVG]] [[ppEffectEnable]] [[ppEffectDestroy]] [[ppEffectCreate]] [[ppEffectCommit]] [[ppEffectAdjust]] | ||
}} | }} | ||
Latest revision as of 14:06, 8 November 2023
Description
- Description:
- Check whether given post process effect is committed.
- Groups:
- Camera Control
Syntax
- Syntax:
- ppEffectCommitted effect
- Parameters:
- effect: String - effect name
- Return Value:
- Boolean
Alternative Syntax
- Syntax:
- ppEffectCommitted handle
- Parameters:
- handle: Number - effect handle
- Return Value:
- Boolean
Examples
- Example 1:
- ppEffectCommitted "colorCorrection";
- Example 2:
- ppEffectCommitted _hndl;
- Example 3:
Additional Information
- See also:
- Post Process Effects ppEffectForceInNVG ppEffectEnable ppEffectDestroy ppEffectCreate ppEffectCommit 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