setFog: Difference between revisions

From Bohemia Interactive Community
mNo edit summary
mNo edit summary
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>15 setFog 0.5</pre> |= Example 1
|x1= <code>15 [[setFog]] 0.5;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________
| mp = Each client and the server can have differing fog values. |= Multiplayer
| mp = Each client and the server can have differing fog values. |= Multiplayer

Revision as of 19:33, 18 September 2013

Hover & click on the images for description

Description

Description:
Changes the fog smoothly over the the given TransitionTime (in seconds). A time of zero means there will be an immediate change. A fog intensity of zero is minimum fog and a fog level of one is maximum fog.
Multiplayer:
Each client and the server can have differing fog values.
Groups:
Uncategorised

Syntax

Syntax:
time setFog fog
Parameters:
time: Number
fog: Number
Return Value:
Nothing

Examples

Example 1:
15 setFog 0.5;

Additional Information

See also:
setFog arrayfogfogParamsfogForecastnextWeatherChange

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note

Notes

Ceeeb
Only one script command induced weather change (either setOvercast or setFog) can be happening at a time. Starting a new weather change will immediately halt the current weather change. SetRain changes are independent and can occur simultaneously to a weather change.

Bottom Section