CameraClearNoiseForPlayer

Parameters
whichPlayer player
comment
patch

1.00

Source
Blizzard.j
return type
nothing
Source code
function CameraClearNoiseForPlayer takes player whichPlayer returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call CameraSetSourceNoise(0, 0)
        call CameraSetTargetNoise(0, 0)
    endif
endfunction