ppEffectEnable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|PARAMETER1= |p22=" to "|PARAMETER21= |p22=") |
Lou Montana (talk | contribs) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| effect | | effect [[ppEffectEnable]] enable |SYNTAX= | ||
|p1= effect: [[String]] - name of the effect |PARAMETER1= | |p1= effect: [[String]] - name of the effect |PARAMETER1= | ||
|p2= enable: [[Boolean]] |PARAMETER2= | |p2= enable: [[Boolean]] |PARAMETER2= | ||
| | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | |||
| [[ | |s2= effect [[ppEffectEnable]] enable |SYNTAX2= | ||
|p21= effect: [[Number]] - handle of the effect |PARAMETER21= | |p21= effect: [[Number]] - handle of the effect |PARAMETER21= | ||
|p22= enable: [[Boolean]] | | |p22= enable: [[Boolean]] |PARAMETER22= | ||
| | |r2= [[Nothing]] |RETURNVALUE2= | ||
____________________________________________________________________________________________ | |||
| | |s3= effectArray [[ppEffectEnable]] enable |SYNTAX3= | ||
| | |p41= effectArray: [[Array]] of [[Number]]s - array of effect handles |PARAMETER41= | ||
| | |p42= enable: [[Boolean]] |PARAMETER42= | ||
| | |r3= [[Nothing]] |RETURNVALUE3= | ||
____________________________________________________________________________________________ | |||
| | |x1= <code>"colorCorrections" [[ppEffectEnable]] [[true]];</code> |EXAMPLE1= | ||
|x2= <code>_hndl [[ppEffectEnable]] [[true]];</code>|EXAMPLE2= | |||
|x2= <code>_hndl [[ppEffectEnable]] [[true]];</code>| | |||
|x3= <code>[_hndl1, _hndl2] [[ppEffectEnable]] [[true]];</code>|EXAMPLE3= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectEnabled]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]] |SEEALSO= | | [[Post process effects]], [[ppEffectForceInNVG]], [[ppEffectDestroy]], [[ppEffectCreate]], [[ppEffectEnabled]], [[ppEffectCommit]], [[ppEffectCommitted]], [[ppEffectAdjust]] |SEEALSO= | ||
| | | |MPBEHAVIOUR= | ||
}} | }} | ||
Line 62: | Line 58: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 23:23, 21 December 2019
Description
- Description:
- Enable / disable Post process effects
- Groups:
- Uncategorised
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