Enable/Disable Fog - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Enable/Disable Fog (/thread-20934.html) |
Enable/Disable Fog - Josh9810 - 03-27-2013 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 RE: Enable/Disable Fog - The chaser - 03-27-2013 There exist a few scripts for the fog. THis is the one that should interest you: SetFogActive(false); RE: Enable/Disable Fog - Josh9810 - 03-27-2013 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. RE: Enable/Disable Fog - The chaser - 03-27-2013 Sorry to tell you, but I haven't seen any script related to box fog. You will have to do something different. RE: Enable/Disable Fog - PutraenusAlivius - 03-27-2013 Actually, you can turn off/on fog using a trick. You have to increase the End part so that the fog is literally invisible . RE: Enable/Disable Fog - Statyk - 03-27-2013 The fog scripts are used for global fog, not area fog, if I'm not mistaken. RE: Enable/Disable Fog - Josh9810 - 03-28-2013 is it possible to make a function probably not ill just forget about the flooding |