BIS fnc setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \|(\[\[[a-zA-Z]+\]\].+) * \|x1=" to " |r1= $1 |x1=")
Line 19: Line 19:
|p3= altitude: [[Number]] - Fog base altitude in metres.
|p3= altitude: [[Number]] - Fog base altitude in metres.


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


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

Revision as of 18:17, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Environment

Syntax

Syntax:
Syntax needed
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