I have a problem with fog_start and fog_end. Acording to the manual there is no fog closer then fog_start and it gets foggy beyond fog_end.
I made the following function
Code:

function fog1_event()
{
d3d_fogcolor1.red=80;
d3d_fogcolor1.green=80;
d3d_fogcolor1.blue=80;
fog_color=1;
camera.fog_start=100;
camera.fog_end=500;
}


I call it in main and expect that its get foggy at 500, but the fog is always at a distance for about 1500 quants in stead of the camera.fog_end=500;
Why can't I get the fog any closer to the camera then the 1500 quants?


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits