Frictional Games Forum (read-only)

Full Version: Enable/Disable Fog
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys I was wondering if there was a way to disable or enable Fog?
I have put
SetEntityActive("blur1", false);
in but i dont know if thats the right one?
I also disabled it in LevelEditor

Thanks for all help
There exist a few scripts for the fog. THis is the one that should interest you:

SetFogActive(false);
I dont know if I actually put enough info in my text. It is the "FogArea" tool that makes the little box of fog. Im using it for water so when you crouch its not clear but I want the room to flood up there fore I dont want the fog to already be there, I have the fog on level editor and uncheck the "Active" box but its still there.

I tried your SetFogActive(false); that is just the global so it creates it everywhere.
Sry for no explaining clearly.
Sorry to tell you, but I haven't seen any script related to box fog. You will have to do something different.
Actually, you can turn off/on fog using a trick. You have to increase the End part so that the fog is literally invisible Wink.
The fog scripts are used for global fog, not area fog, if I'm not mistaken.
is it possible to make a function probably not ill just forget about the flooding