BIS fnc setFog: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "strenght" to "strength") |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
|arma3| | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Environment | ||
| | |serverExec= server | ||
|Instantly set weather conditions and share it across network. | |descr= Instantly set weather conditions and share it across network. | ||
|[ | |s1= [strength, density, altitude] call [[BIS_fnc_setFog]] | ||
|p1= strength: [[Number]] - | |p1= strength: [[Number]] - fog strength from 0 to 1 | ||
|p2= density: [[Number]] - | |p2= density: [[Number]] - fog density from 0 to 1 | ||
|p3= altitude: [[Number]] - | |p3= altitude: [[Number]] - fog base altitude in metres. | ||
|[[Array]] - | |r1= [[Array]] - array with set values | ||
|x1= < | |x1= <sqf>[1,1,100] call BIS_fnc_setFog; // returns [1,1,100]</sqf> | ||
|[[setFog]] [[fog]] | |seealso= [[setFog]] [[fog]] | ||
}} | }} | ||
Latest revision as of 15:12, 14 December 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 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:
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