EnableOcclusionBJ

Parameters
enable boolean
f force
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function EnableOcclusionBJ takes boolean enable, force f returns nothing
    if (IsPlayerInForce(GetLocalPlayer(), f)) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call EnableOcclusion(enable)
    endif
endfunction