BIS fnc setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(page filling)
Line 1: Line 1:
 
{{Function|=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
|arma3|= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
|Instantly set weather conditions and share it across network.|= Description
 
____________________________________________________________________________________________
Description:
Instantly set weather conditions and share it across network.


Parameter(s):
|[strenght, density, altitude] call '''BIS_fnc_setFog'''|= Syntax
0: NUMBER - fog stregth
1: NUMBER - fog density
2: NUMBER - fog altitude (in metres)


Returns:
|p1= strength: [[Number]] - Fog strenght from 0 to 1.|= Parameter 1
ARRAY
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p2= density: [[Number]] - Fog density from 0 to 1.|= Parameter 2
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_setFog]]; --> |= Syntax
|p3= altitude: [[Number]] - Fog base altitude in metres.|= Parameter 3


|p1= |= Parameter 1
|[[Array]] - Array with set values|= Return value
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |= See also
|[[setFog]] [[fog]]|= See also
 
}}
}}
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">

Revision as of 21:58, 26 April 2018

Hover & click on the images for description

Description

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

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

Notes

Bottom Section