BIS fnc ambientPostprocess: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|+$" to "")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 19: Line 19:
|p2= [[String]] or [[Boolean]] - (Optional, default [[true]]) post-process type to get, or [[true]] to get all of them. '''Any effect but "filmGrain"'''.
|p2= [[String]] or [[Boolean]] - (Optional, default [[true]]) post-process type to get, or [[true]] to get all of them. '''Any effect but "filmGrain"'''.


|r1=[[Array]] of initialized effects with values
|r1= [[Array]] of initialized effects with values


|x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code>
|x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code>

Revision as of 23:28, 7 August 2021

Hover & click on the images for description

Description

Description:
Initialize terrain-related postprocess effects.
Execution:
call
Groups:
Ambient

Syntax

Syntax:
[terrain, activation] call BIS_fnc_ambientPostprocess
Parameters:
terrain: String - (Optional, default worldName) terrain from which to take post-process effets configuration
String or Boolean - (Optional, default true) post-process type to get, or true to get all of them. Any effect but "filmGrain".
Return Value:
Array of initialized effects with values

Examples

Example 1:
[] call BIS_fnc_ambientPostprocess;
Example 2:
["Malden", "ColorCorrections"] call BIS_fnc_ambientPostprocess;

Additional Information

See also:
Post process effects

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