ppEffectEnable: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
||
Line 18: | Line 18: | ||
{{Feature | important | If effect fails to get enabled (can check it with [[ppEffectEnabled]]) try adding a little [[sleep]] in front of it. }} | {{Feature | important | If effect fails to get enabled (can check it with [[ppEffectEnabled]]) try adding a little [[sleep]] in front of it. }} | ||
|s1= | |s1= effect [[ppEffectEnable]] enable | ||
|p1= effect: [[String]] - name of the effect | |p1= effect: [[String]] - name of the effect |
Revision as of 22:18, 19 June 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