ppEffectEnable: 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 | ||
| Enable / disable [[Post process effects]] | | Enable / disable [[Post process effects]] | ||
| effect [[ppEffectEnable]] enable | | effect [[ppEffectEnable]] enable | ||
|p1= effect: [[String]] - name of the effect | |p1= effect: [[String]] - name of the effect | ||
|p2= enable: [[Boolean]] | |p2= enable: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= effect [[ppEffectEnable]] enable | |s2= effect [[ppEffectEnable]] enable | ||
|p21= effect: [[Number]] - handle of the effect |PARAMETER21= | |p21= effect: [[Number]] - handle of the effect |PARAMETER21= | ||
Line 23: | Line 23: | ||
|p22= enable: [[Boolean]] |PARAMETER22= | |p22= enable: [[Boolean]] |PARAMETER22= | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|s3= effectArray [[ppEffectEnable]] enable | |s3= effectArray [[ppEffectEnable]] enable | ||
|p41= effectArray: [[Array]] of [[Number]]s - array of effect handles |PARAMETER41= | |p41= effectArray: [[Array]] of [[Number]]s - array of effect handles |PARAMETER41= | ||
Line 31: | Line 31: | ||
|p42= enable: [[Boolean]] |PARAMETER42= | |p42= enable: [[Boolean]] |PARAMETER42= | ||
|r3= [[Nothing]] | |r3= [[Nothing]] | ||
|x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code> | |x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code> | ||
|x2= <code>_hndl [[ppEffectEnable]] [[true]];</code> | |x2= <code>_hndl [[ppEffectEnable]] [[true]];</code> | ||
|x3= <code>[_hndl1, _hndl2] [[ppEffectEnable]] [[true]];</code> | |x3= <code>[_hndl1, _hndl2] [[ppEffectEnable]] [[true]];</code> | ||
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectEnabled]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]] | | [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectEnabled]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:26, 18 January 2021
Description
- Description:
- Enable / disable Post process effects
- Groups:
- Camera Control
Syntax 1
- Syntax:
- effect ppEffectEnable enable
- Parameters:
- effect: String - name of the effect
- enable: Boolean
- Return Value:
- Nothing
Syntax 2
- Syntax:
- effect ppEffectEnable enable
- Parameters:
- effect: Number - handle of the effect
- enable: Boolean
- Return Value:
- Nothing
Syntax 3
- Syntax:
- effectArray ppEffectEnable enable
- Parameters:
- effectArray: Array of Numbers - array of effect handles
- enable: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
"colorCorrections" ppEffectEnable true;
- Example 2:
_hndl ppEffectEnable true;
- Example 3:
[_hndl1, _hndl2] ppEffectEnable true;
Additional Information
- See also:
- Post process effectsppEffectForceInNVGppEffectDestroyppEffectCreateppEffectEnabledppEffectCommitppEffectCommittedppEffectAdjust
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