setFog

From Bohemia Interactive Community
Revision as of 20:13, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


time setFog fog


Operand types:

time: Number

fog: Number

Type of returned value:

Nothing

Description:

Changes the fog smoothly during the given time (in seconds).

A time of zero means there will be an immediate change.

A fog level of zero is minimum fog and a fog level of one is maximum fog.


Example:

15 setFog 0.5


MP Note:

Has only local effect, so setFog random 1 results in different fog-levels on each client.