ppEffectEnable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
No edit summary
Line 8: Line 8:


| Enable / disable [[Post process effects]]
| Enable / disable [[Post process effects]]
{{Important | If effect fails to get enabled (can check it with [[ppEffectEnabled]]) try adding a little [[sleep]] in front of it. }}


| effect [[ppEffectEnable]] enable
| effect [[ppEffectEnable]] enable

Revision as of 12:45, 27 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Camera Control

Syntax 1

Syntax:
Syntax needed
Parameters:
effect: String - name of the effect
enable: Boolean
Return Value:
Return value needed

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:
See also needed

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