CreateFogModifierRectBJ
- Parameters
-
enabled boolean
whichPlayer player
whichFogState fogstate
r rect
- comment
- patch
1.00
- Source
- Blizzard.j
- 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