BIS fnc ambientPostprocess: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| tkoh | | tkoh | ||
|1.00 | |1.00 | ||
|gr1 = Ambient | |gr1 = Ambient | ||
|eff= local |= Effect | |eff= local |= Effect | ||
| Initialize terrain-related postprocess effects. | | Initialize terrain-related postprocess effects. | ||
| [terrain, activation] call [[BIS_fnc_ambientPostprocess]] | | [terrain, activation] call [[BIS_fnc_ambientPostprocess]] | ||
|p1= terrain: [[String]] - (Optional, default [[worldName]]) terrain from which to take post-process effets configuration | |p1= terrain: [[String]] - (Optional, default [[worldName]]) terrain from which to take post-process effets configuration | ||
|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"'''. | ||
| [[Array]] of initialized effects with values | | [[Array]] of initialized effects with values | ||
|x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> | |x1= <code>[] [[call]] [[BIS_fnc_ambientPostprocess]];</code> | ||
|x2= <code>["Malden", "ColorCorrections"] [[call]] [[BIS_fnc_ambientPostprocess]];</code> | |x2= <code>["Malden", "ColorCorrections"] [[call]] [[BIS_fnc_ambientPostprocess]];</code> | ||
| [[Post process effects]] | | [[Post process effects]] | ||
}} | }} | ||
Revision as of 22:40, 17 January 2021
Description
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