FogEnable

Parameters
enable boolean
comment

Toggles global FOW fogging of explored yet not visible areas.

An individual player's fog state is not modified, that means this toggle is fully reversible.

True: explored areas are fogged if not in sight.

False: explored areas remain permanently visible.

note

See: IsFogEnabled, IsFogMaskEnabled. "Fog" is explained in fogstate.

return type
nothing
Source code
native FogEnable takes boolean enable returns nothing
Source
fog-of-war.j
wc3modding.com
FogEnable