Call of Duty Script Documentation

# setcullfog (<near distance>, <far distance>, <red>, <green>, <blue>, <transition time> )

## Module

    Effects

## Summary

    Sets the amount of fog in the distance. The fog will increase linearly

## Example

    setcullfog (0, 16500, 0.7, 0.85, 1.0, 0);

## Minimum Number of arguments: 6

    1 : <near distance> Distance from the camera that the fog will start
    2 : <far distance> Distance from the camera that full occlusion will occur.
    3 : <red> The red component of the fog as a value between 0.0 and 1.0
    4 : <green> The red component of the fog as a value between 0.0 and 1.0
    5 : <blue> The red component of the fog as a value between 0.0 and 1.0
    6 : <transition time> Transition time in seconds

## Number of optional arguments: 0

Return to Function List