Frictional Games Forum (read-only)

Full Version: Area fog
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can I deactivate(made no active) the area fog?
[img][Image: bandicam20_6898146_11563071.jpg][/img]
I thought it was NOT possible..
Only thing you can try is SetEntityActive("YOURFOGAREA", false);
Give it a try.
PHP Code:
SetFogActive(bool abActive); 
PHP Code:
SetFogColor(float afRfloat afGfloat afBfloat afA); 
PHP Code:
SetFogProperties(float afStartfloat afEndfloat afFalloffExpbool abCulling); 

These are all you need.

Edit: Oh, I mistook them. These are for global fog.
Perhaps SetEntityActive works. I haven't tried.
Not sure. If not, a workaround is to have the exact same map copied some other place, and then teleport the player to the map with no fog.