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 ____________________...")
 
mNo edit summary
Line 25: Line 25:




|x1= <code>0 setFog [1, 0.01, 0]</code>|= EXAMPLE1  
|x1= <code>0 '''setFog''' [1, 0.01, 0];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= SEEALSO  
| [[fogParams]], [[fog]], [[setFog]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 19:31, 18 September 2013

Hover & click on the images for description

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:
fogParamsfogsetFog

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

Notes

Bottom Section