Game Development Community

Dynamically change fog color?

by David Lancaster · in Torque Game Engine · 04/10/2006 (4:06 am) · 0 replies

Can it be done through Torque Script or the console, or does it have to be done through C++?
I can change the fog color by entering this:
sky.fogcolor = "1 1 1 1";
But the color wont actually get applied to the fog unless I reload the mission or click apply in the mission editor.
Is there anyway to apply it through a console or torque script command?

Thanks.

David