BIS fnc setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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


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


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


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


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

Revision as of 15:33, 7 April 2019

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