BIS fnc setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|=
{{Function|=
____________________________________________________________________________________________


|arma3|Game name=
|arma3|Game name=
Line 7: Line 6:


|gr1 = Environment |GROUP1=
|gr1 = Environment |GROUP1=
____________________________________________________________________________________________


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


|[strenght, density, altitude] call '''BIS_fnc_setFog'''|SYNTAX=
|[strenght, density, altitude] call '''BIS_fnc_setFog'''|SYNTAX=
Line 21: Line 18:


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


|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> |EXAMPLE1=
____________________________________________________________________________________________


|[[setFog]] [[fog]]|SEEALSO=
|[[setFog]] [[fog]]|SEEALSO=

Revision as of 23:51, 16 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

Notes

Bottom Section