setFog array: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(removed misleading locality info, added description note)
Line 6: Line 6:
|0.56|= Game version
|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
| 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. <br><br>
In Arma 3 this command is MP synchronised, if executed on server, the changes will propagate globally. If executed on client effect is temporary as it will soon change to the server setting.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:07, 3 May 2015

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.

In Arma 3 this command is MP synchronised, if executed on server, the changes will propagate globally. If executed on client effect is temporary as it will soon change to the server setting.
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

Notes

Bottom Section