SetCameraFieldForPlayer

Parameters
whichPlayer player
whichField camerafield
value real
duration real
return type
nothing
Source code
function SetCameraFieldForPlayer takes player whichPlayer, camerafield whichField, real value, real duration returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call SetCameraField(whichField, value, duration)
    endif
endfunction
Source
Blizzard.j
wc3modding.com
SetCameraFieldForPlayer