Simply place a region near the mouth of the cave, label it whatever you wish, then make a trigger with the Event being A Unit Enters a region, then make the actions, for what you've described, I would advise you to make an action which will set the fog to black, actions that do things such as that are categorized under "Environment" in the Trigger Editor.
~Deathcom3s