setFog array: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.56|= Game version ____________________...")
 
(Redirected page to setFog)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[setFog]]
____________________________________________________________________________________________
 
| arma3 |= Game name
 
|0.56|= Game version
____________________________________________________________________________________________
 
| 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
 
____________________________________________________________________________________________
 
|  |= 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:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 15:33, 23 March 2016

Redirect to: