Call of Duty Script Documentation
setsunlight(<red>, <green>, <blue>)
ModuleLevel
Summary
Overrides the sun color for a level. Use 'resetsunlight' to revert to the map's values.
Example
setSunLight(1.2, 1.2, 0.4);
Minimum Number of arguments: 3
1 : <red> The red component of sunlight color. 0 is black, 1 is fullbright, more than 1 is overbright.
2 : <green> The green component of sunlight color. 0 is black, 1 is fullbright, more than 1 is overbright.
3 : <blue> The blue component of sunlight color. 0 is black, 1 is fullbright, more than 1 is overbright.
Number of optional arguments: 0
Return to Function List