CreateFogModifierRect

Parameters
forWhichPlayer player
whichState fogstate

Determines what type of fog the area is being modified to.

where rect

The rect where the fog is

useSharedVision boolean

Determines whether or not the fog modifier will be applied to allied players with shared vision.

afterUnits boolean

Will determine whether or not units in that area will be masked by the fog. If it is set to true and the fogstate is masked, it will hide all the units in the fog modifier's radius and mask the area. If set to false, it will only mask the areas that are not visible to the units.

comment

Creates an object that modifies the fog in a rect for a specific player.

return type
fogmodifier
Source code
native CreateFogModifierRect takes player forWhichPlayer, fogstate whichState, rect where, boolean useSharedVision, boolean afterUnits returns fogmodifier
Source
fog-of-war.j
wc3modding.com
CreateFogModifierRect