BIS fnc ambientPostprocess: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - "Post process effects" to "Post Process Effects") |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| tkoh | |game1= tkoh | ||
|1.00 | |version1= 1.00 | ||
|game2= arma3 | |game2= arma3 | ||
Line 9: | Line 9: | ||
|gr1= Ambient | |gr1= Ambient | ||
|eff= local | |eff= local | ||
| Initialize terrain-related postprocess effects. | |descr= Initialize terrain-related postprocess effects. | ||
|s1=[terrain, activation] call [[BIS_fnc_ambientPostprocess]] | |s1= [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 | ||
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= < | |x1= <sqf>[] call BIS_fnc_ambientPostprocess;</sqf> | ||
|x2= < | |x2= <sqf>["Malden", "ColorCorrections"] call BIS_fnc_ambientPostprocess;</sqf> | ||
|seealso= [[Post | |seealso= [[Post Process Effects]] | ||
}} | }} | ||
Latest revision as of 23:24, 12 July 2022
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:
- Example 2:
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