BIS fnc setFog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "strenght" to "strength")
 
(5 intermediate revisions by 2 users not shown)
Line 10: Line 10:
|descr= Instantly set weather conditions and share it across network.
|descr= Instantly set weather conditions and share it across network.


|s1= [strenght, density, altitude] call [[BIS_fnc_setFog]]
|s1= [strength, density, altitude] call [[BIS_fnc_setFog]]


|p1= strength: [[Number]] - fog strenght from 0 to 1
|p1= strength: [[Number]] - fog strength from 0 to 1


|p2= density: [[Number]] - fog density from 0 to 1
|p2= density: [[Number]] - fog density from 0 to 1
Line 20: Line 20:
|r1= [[Array]] - array with set values
|r1= [[Array]] - array with set values


|x1= <code>[1,1,100] [[call]] [[BIS_fnc_setFog]]; {{cc|returns [1,1,100]}}</code>
|x1= <sqf>[1,1,100] call BIS_fnc_setFog; // returns [1,1,100]</sqf>


|seealso= [[setFog]] [[fog]]
|seealso= [[setFog]] [[fog]]
}}
}}

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