BIS fnc setFog: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\{\{cc\|([^{}]+)\}\} *<\/code>" to "<code>$1// $2</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
Line 20: | Line 20: | ||
|r1= [[Array]] - array with set values | |r1= [[Array]] - array with set values | ||
|x1= < | |x1= <sqf>[1,1,100] call BIS_fnc_setFog; // returns [1,1,100]</sqf> | ||
|seealso= [[setFog]] [[fog]] | |seealso= [[setFog]] [[fog]] | ||
}} | }} |
Revision as of 22:44, 12 July 2022
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 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:
Additional Information
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