BIS fnc setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "strenght" to "strength")
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|=
{{RV|type=function
____________________________________________________________________________________________


|arma3|Game name=
|game1= arma3
|version1= 1.00


|1.00|= Game version
|gr1= Environment
____________________________________________________________________________________________


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


|[strenght, density, altitude] call '''BIS_fnc_setFog'''|SYNTAX=
|descr= Instantly set weather conditions and share it across network.


|p1= strength: [[Number]] - Fog strenght from 0 to 1.|PARAMETER1=
|s1= [strength, density, altitude] call [[BIS_fnc_setFog]]


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


|p3= altitude: [[Number]] - Fog base altitude in metres.|PARAMETER3=
|p2= density: [[Number]] - fog density from 0 to 1


|[[Array]] - Array with set values|RETURNVALUE=
|p3= altitude: [[Number]] - fog base altitude in metres.
____________________________________________________________________________________________


|x1= <code>[1,1,100] [[call]] '''BIS_fnc_setFog''';//Returns [1,1,100]</code> |EXAMPLE1=
|r1= [[Array]] - array with set values
____________________________________________________________________________________________


|[[setFog]] [[fog]]|SEEALSO=
|x1= <sqf>[1,1,100] call BIS_fnc_setFog; // returns [1,1,100]</sqf>
 
|seealso= [[setFog]] [[fog]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Environment|{{uc:setFog}}]]
[[Category:Functions|{{uc:setFog}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setFog}}]]

Latest revision as of 16:12, 14 December 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
[strength, density, altitude] call BIS_fnc_setFog
Parameters:
strength: Number - fog strength 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