CreateFogModifierRectBJ

Parameters
enabled boolean
whichPlayer player
whichFogState fogstate
r rect
comment
patch

1.00

return type
fogmodifier
Source code
function CreateFogModifierRectBJ takes boolean enabled, player whichPlayer, fogstate whichFogState, rect r returns fogmodifier
    set bj_lastCreatedFogModifier = CreateFogModifierRect(whichPlayer, whichFogState, r, true, false)
    if enabled then
        call FogModifierStart(bj_lastCreatedFogModifier)
    endif
    return bj_lastCreatedFogModifier
endfunction
Source
Blizzard.j
wc3modding.com
CreateFogModifierRectBJ