ppEffectCommitted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= Camera Control | |gr1= Camera Control | ||
| Check whether given [[Post process effects|post process effect]] is committed | | Check whether given [[Post process effects|post process effect]] is committed | ||
| '''ppEffectCommitted''' effect | | '''ppEffectCommitted''' effect | ||
|p1= effect: [[String]] - effect name | |p1= effect: [[String]] - effect name | ||
| [[Boolean]] | | [[Boolean]] | ||
|s2= '''ppEffectCommitted''' handle | |s2= '''ppEffectCommitted''' handle | ||
|p21= handle: [[Number]] - effect handle |PARAMETER21= | |p21= handle: [[Number]] - effect handle |PARAMETER21= | ||
|r2= [[Boolean]] | |r2= [[Boolean]] | ||
|x1= <code>[[ppEffectCommitted]] "colorCorrection";</code> | |x1= <code>[[ppEffectCommitted]] "colorCorrection";</code> | ||
|x2= <code>[[ppEffectCommitted]] _hndl;</code> | |x2= <code>[[ppEffectCommitted]] _hndl;</code> | ||
|x3= <code>[[if]] ([[ppEffectCommitted]] "colorCorrection") [[then]] { [[hint]] "alteration done !" };</code> | |x3= <code>[[if]] ([[ppEffectCommitted]] "colorCorrection") [[then]] { [[hint]] "alteration done !" };</code> | ||
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]] | | [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectEnable]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectCommit]], [[ppEffectAdjust]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:12, 18 January 2021
Description
- Description:
- Check whether given post process effect is committed
- Groups:
- Camera Control
Syntax
Alternative Syntax
Examples
- Example 1:
ppEffectCommitted "colorCorrection";
- Example 2:
ppEffectCommitted _hndl;
- Example 3:
if (ppEffectCommitted "colorCorrection") then { hint "alteration done !" };
Additional Information
- See also:
- Post process effectsppEffectForceInNVGppEffectEnableppEffectDestroyppEffectCreateppEffectCommitppEffectAdjust
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