Call of Duty Script Documentation

setExpFog(<density>, <red>, <green>, <blue>, <transition time>)


Module
Effects


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


Number of optional arguments: 0



Return to Function List