BIS fnc setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
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


|arma3|Game name=
|arma3


|1.00|Game version=
|1.00


|gr1 = Environment |GROUP1=
|gr1 = Environment


|Instantly set weather conditions and share it across network.|DESCRIPTION=
|Instantly set weather conditions and share it across network.


|[strenght, density, altitude] call '''BIS_fnc_setFog'''|SYNTAX=
|[strenght, density, altitude] call '''BIS_fnc_setFog'''


|p1= strength: [[Number]] - Fog strenght from 0 to 1.|PARAMETER1=
|p1= strength: [[Number]] - Fog strenght from 0 to 1.


|p2= density: [[Number]] - Fog density from 0 to 1.|PARAMETER2=
|p2= density: [[Number]] - Fog density from 0 to 1.


|p3= altitude: [[Number]] - Fog base altitude in metres.|PARAMETER3=
|p3= altitude: [[Number]] - Fog base altitude in metres.


|[[Array]] - Array with set values|RETURNVALUE=
|[[Array]] - Array with set values


|x1= <code>[1,1,100] [[call]] '''BIS_fnc_setFog''';//Returns [1,1,100]</code> |EXAMPLE1=
|x1= <code>[1,1,100] [[call]] '''BIS_fnc_setFog''';//Returns [1,1,100]</code>


|[[setFog]] [[fog]]|SEEALSO=
|[[setFog]] [[fog]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:setFog}}]]
[[Category:Functions|{{uc:setFog}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setFog}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setFog}}]]

Revision as of 23:47, 17 January 2021

Hover & click on the images for description

Description

Description:
Instantly set weather conditions and share it across network.
Execution:
call
Groups:
Environment

Syntax

Syntax:
[strenght, density, altitude] call BIS_fnc_setFog
Parameters:
strength: Number - Fog strenght from 0 to 1.
density: Number - Fog density from 0 to 1.
altitude: Number - Fog base altitude in metres.
Return Value:
Array - Array with set values

Examples

Example 1:
[1,1,100] call BIS_fnc_setFog;//Returns [1,1,100]

Additional Information

See also:
setFog fog

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

Bottom Section