BIS fnc ambientPostprocess: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 6: | Line 5: | ||
|1.00|= Game version | |1.00|= Game version | ||
|eff= local |= Effect | |||
____________________________________________________________________________________________ | |||
| Initialize terrain-related postprocess effects. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [terrain, activation] call [[BIS_fnc_ambientPostprocess]] |= Syntax | ||
|p1= terrain: [[String]] - (Optional, default [[worldName]]) terrain from which to take post-process effets configuration |= Parameter 1 | |||
|p2= [[String]] or [[Boolean]] - (Optional, default [[true]]) post-process type to get, or [[true]] to get all of them. '''Any effect but "filmGrain"'''. |= Parameter 2 | |||
| [[Array]] of initialized effects with values |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | |x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |= Example 1 | ||
| | |x2= <code>["Malden", "ColorCorrections"] [[call]] [[BIS_fnc_ambientPostprocess]];</code> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[Post process effects]] |= See also | ||
}} | }} | ||
Revision as of 01:41, 28 April 2018
Description
- Description:
- Initialize terrain-related postprocess effects.
- Execution:
- call
- Groups:
- Uncategorised
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