setFog array: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Redirected page to setFog)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[setFog]]
____________________________________________________________________________________________
 
| arma3 |= Game name
 
|0.56|= Game version
 
|eff= local |= Effects in MP
____________________________________________________________________________________________
 
| 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.  |= Description
____________________________________________________________________________________________
 
| time '''setFog''' [fogValue, fogDecay, fogBase]  |= Syntax
 
|p1= time: [[Number]]  |= PARAMETER1
 
|p2= [fogValue, fogDecay, fogBase]: [[Array]]  |= PARAMETER2
 
|p3= fogValue: [[Number]] - value for fog at base level |= PARAMETER3
 
|p4= fogDecay: [[Number]] - decay of fog density with altitude |= PARAMETER4
 
|p5= fogBase: [[Number]] - base altitude of fog (in meters) |= PARAMETER5
 
| [[Nothing]] |= RETURNVALUE
 
 
|x1= <code>0 '''setFog''' [1, 0.01, 0];</code>|= EXAMPLE1
 
____________________________________________________________________________________________
 
| [[fogParams]], [[fog]], [[setFog]], [[fogForecast]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
 
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<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}}}}]]

Latest revision as of 15:33, 23 March 2016

Redirect to: