setFog array: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (categories) |
||
Line 43: | Line 43: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 00:58, 23 November 2013
Description
- Description:
- Changes the fog smoothly over the given time (in seconds). A time of zero means there will be an immediate change. A fog value of zero is minimum fog and a fog value of one is maximum fog.
- Groups:
- Uncategorised
Syntax
- Syntax:
- time setFog [fogValue, fogDecay, fogBase]
- Parameters:
- time: Number
- [fogValue, fogDecay, fogBase]: Array
- fogValue: Number - value for fog at base level
- fogDecay: Number - decay of fog density with altitude
- fogBase: Number - base altitude of fog (in meters)
- Return Value:
- Nothing
Examples
- Example 1:
0 setFog [1, 0.01, 0];
Additional Information
- See also:
- fogParamsfogsetFogfogForecast
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