Call of Duty Script Documentation
setExpFog(<density>, <red>, <green>, <blue>, <transition time>)
ModuleEffects
Summary
Creates an exponential fog. Density must be greater than 0 and less than 1, and typically less than .001. For example, .0002 means the fog gets .02%% more dense for every 1 unit of distance (about 1%% thicker every 50 units of distance)
Example
setExpFog(.0001144, 131/255, 116/255, 71/255, 0);
Minimum Number of arguments: 5
1 : <density> The density of the fog (see above)
2 : <red> The red component of the fog as a value between 0.0 and 1.0
3 : <green> The red component of the fog as a value between 0.0 and 1.0
4 : <blue> The red component of the fog as a value between 0.0 and 1.0
5 : <transition time> transition time in seconds
Number of optional arguments: 0
Return to Function List