Hello, I started to code in LUA for the first time, and this is my first script I made. I wanted it to be so when the player enters a trigger zone, the fog intensity will change to 100, and the blue colour in the fog will change to 99. However, in game, nothing seems to be changing. What am I doing wrong?
GTX 970 Strix, Intel I7 870 (4 cores) -2.9GHz, 16GB RAM, 1920x1080