BIS fnc setFog: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|arma3 | |arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Environment | |gr1 = Environment | ||
|Instantly set weather conditions and share it across network. | |Instantly set weather conditions and share it across network. | ||
|[strenght, density, altitude] call '''BIS_fnc_setFog''' | |[strenght, density, altitude] call '''BIS_fnc_setFog''' | ||
|p1= strength: [[Number]] - Fog strenght from 0 to 1. | |p1= strength: [[Number]] - Fog strenght from 0 to 1. | ||
|p2= density: [[Number]] - Fog density from 0 to 1. | |p2= density: [[Number]] - Fog density from 0 to 1. | ||
|p3= altitude: [[Number]] - Fog base altitude in metres. | |p3= altitude: [[Number]] - Fog base altitude in metres. | ||
|[[Array]] - Array with set values | |[[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> | ||
|[[setFog]] [[fog]] | |[[setFog]] [[fog]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:setFog}}]] | [[Category:Functions|{{uc:setFog}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:setFog}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:setFog}}]] |
Revision as of 23:47, 17 January 2021
Description
- Description:
- Instantly set weather conditions and share it across network.
- Execution:
- call
- Groups:
- Environment
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
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